Struct nix::sys::uio::RemoteIoVec
source · #[repr(C)]pub struct RemoteIoVec {
pub base: usize,
pub len: usize,
}
Expand description
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 IoSlice
,
except that it refers to memory in some other process, and is
therefore not represented in Rust by an actual slice as IoSlice
is. It
is used with process_vm_readv
and process_vm_writev
.
Fields§
§base: usize
The starting address of this slice (iov_base
).
len: usize
The number of bytes in this slice (iov_len
).
Trait Implementations§
source§impl Clone for RemoteIoVec
impl Clone for RemoteIoVec
source§fn clone(&self) -> RemoteIoVec
fn clone(&self) -> RemoteIoVec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RemoteIoVec
impl Debug for RemoteIoVec
source§impl Hash for RemoteIoVec
impl Hash for RemoteIoVec
source§impl PartialEq for RemoteIoVec
impl PartialEq for RemoteIoVec
source§fn eq(&self, other: &RemoteIoVec) -> bool
fn eq(&self, other: &RemoteIoVec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RemoteIoVec
impl Eq for RemoteIoVec
impl StructuralPartialEq for RemoteIoVec
Auto Trait Implementations§
impl Freeze for RemoteIoVec
impl RefUnwindSafe for RemoteIoVec
impl Send for RemoteIoVec
impl Sync for RemoteIoVec
impl Unpin for RemoteIoVec
impl UnwindSafe for RemoteIoVec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)