pub trait LocalMrReadAccess: MrAccess {
    fn lkey(&self) -> u32;

    fn as_ptr(&self) -> *const u8 { ... }
    fn as_slice(&self) -> &[u8]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8] { ... }
}
Expand description

Local memory region trait

Required Methods

Get the local key

Provided Methods

Get the start pointer

Get the memory region as slice

Implementors