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: usizeThe starting address of this slice (iov_base).
pub len: usizeThe number of bytes in this slice (iov_len).
Trait Implementations
impl Clone for RemoteIoVec
fn clone(&Self) -> RemoteIoVecimpl Copy for RemoteIoVecimpl Debug for RemoteIoVec
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Eq for RemoteIoVecimpl Hash for RemoteIoVec
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl PartialEq<RemoteIoVec> for RemoteIoVec
fn eq(&Self, other: &RemoteIoVec) -> boolfn ne(&Self, other: &RemoteIoVec) -> boolimpl StructuralEq for RemoteIoVecimpl StructuralPartialEq for RemoteIoVecAuto Trait Implementations
impl RefUnwindSafe for RemoteIoVecimpl Send for RemoteIoVecimpl Sync for RemoteIoVecimpl Unpin for RemoteIoVecimpl UnwindSafe for RemoteIoVecBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T