#[repr(C)]pub struct RemoteIoSlice {
pub addr: u64,
pub len: usize,
}Expand description
Segment mémoire distant pour process_vm_readv/process_vm_writev.
Décrit une plage de mémoire dans l’espace d’adressage d’un autre
processus (adresse et longueur en octets). Correspond à struct iovec
du côté remote dans le kernel (iova).
#[repr(C)] garantit la compatibilité de layout avec struct iovec
du kernel Linux sur les architectures LP64 (x86_64, aarch64) :
{ iov_base: u64, iov_len: usize }.
Fields§
§addr: u64Adresse dans l’espace d’adressage du processus cible.
len: usizeLongueur en octets.
Trait Implementations§
Source§impl Clone for RemoteIoSlice
impl Clone for RemoteIoSlice
Source§fn clone(&self) -> RemoteIoSlice
fn clone(&self) -> RemoteIoSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteIoSlice
Auto Trait Implementations§
impl Freeze for RemoteIoSlice
impl RefUnwindSafe for RemoteIoSlice
impl Send for RemoteIoSlice
impl Sync for RemoteIoSlice
impl Unpin for RemoteIoSlice
impl UnsafeUnpin for RemoteIoSlice
impl UnwindSafe for RemoteIoSlice
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