Struct whistlinoak::backend::FileMemory
source · [−]pub struct FileMemory { /* private fields */ }
Expand description
A Memory
implementation backed by a file using an mmap.
Trait Implementations
sourceimpl Memory for FileMemory
impl Memory for FileMemory
sourcefn memory(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn memory(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
Return a read-only slice of the entire memory managed by this backend. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileMemory
impl Send for FileMemory
impl Sync for FileMemory
impl Unpin for FileMemory
impl UnwindSafe for FileMemory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more