pub enum UnmapBehavior {
Unspecified,
Ignored,
Zeroes,
}
Expand description
The behavior of unmap.
Variants§
Unspecified
Unmap may or may not change the content, and not necessarily to zero.
Ignored
Unmaps are guaranteed to be ignored.
Zeroes
Unmap will deterministically zero the content.
Trait Implementations§
Source§impl Clone for UnmapBehavior
impl Clone for UnmapBehavior
Source§fn clone(&self) -> UnmapBehavior
fn clone(&self) -> UnmapBehavior
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 UnmapBehavior
impl Debug for UnmapBehavior
Source§impl PartialEq for UnmapBehavior
impl PartialEq for UnmapBehavior
impl Copy for UnmapBehavior
impl Eq for UnmapBehavior
impl StructuralPartialEq for UnmapBehavior
Auto Trait Implementations§
impl Freeze for UnmapBehavior
impl RefUnwindSafe for UnmapBehavior
impl Send for UnmapBehavior
impl Sync for UnmapBehavior
impl Unpin for UnmapBehavior
impl UnwindSafe for UnmapBehavior
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