Struct nix::sys::uio::RemoteIoVec
#[repr(C)]
pub struct RemoteIoVec {
pub base: usize,
pub len: usize,
}
The portability is definied by:
#[cfg(target_os = "linux")]
Documentation
A slice of memory in a remote process, starting at address base
and consisting of len
bytes.
This is the same underlying C structure as IoVec
,
except that it refers to memory in some other process, and is
therefore not represented in Rust by an actual slice as IoVec
is. It
is used with process_vm_readv
and process_vm_writev
.
Fields
pub base: usize
The starting address of this slice (iov_base
).
pub len: usize
The number of bytes in this slice (iov_len
).
Trait Implementations
impl Clone for RemoteIoVec
fn clone(&Self) -> RemoteIoVec
impl Copy for RemoteIoVec
impl Debug for RemoteIoVec
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for RemoteIoVec
impl Hash for RemoteIoVec
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<RemoteIoVec> for RemoteIoVec
fn eq(&Self, other: &RemoteIoVec) -> bool
fn ne(&Self, other: &RemoteIoVec) -> bool
impl StructuralEq for RemoteIoVec
impl StructuralPartialEq for RemoteIoVec
Auto Trait Implementations
impl RefUnwindSafe for RemoteIoVec
impl Send for RemoteIoVec
impl Sync for RemoteIoVec
impl Unpin for RemoteIoVec
impl UnwindSafe for RemoteIoVec
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T