pub enum MappingMode {
ReadOnly,
Mutable,
}Expand description
Modes of memory mapping a file.
Variants§
Trait Implementations§
Source§impl Clone for MappingMode
impl Clone for MappingMode
Source§fn clone(&self) -> MappingMode
fn clone(&self) -> MappingMode
Returns a duplicate 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 MappingMode
impl Debug for MappingMode
Source§impl Hash for MappingMode
impl Hash for MappingMode
Source§impl PartialEq for MappingMode
impl PartialEq for MappingMode
impl Copy for MappingMode
impl Eq for MappingMode
impl StructuralPartialEq for MappingMode
Auto Trait Implementations§
impl Freeze for MappingMode
impl RefUnwindSafe for MappingMode
impl Send for MappingMode
impl Sync for MappingMode
impl Unpin for MappingMode
impl UnwindSafe for MappingMode
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