pub enum MemoryLockOperation {
Length,
Map,
DontDump,
DontFork,
Lock,
Unlock,
Unmap,
Random,
}Expand description
Platform memory-locking operation that failed.
Variants§
Length
The requested mapping length overflowed.
Map
Anonymous mapping creation failed.
DontDump
Core-dump exclusion failed.
DontFork
Fork inheritance exclusion failed.
Lock
Page locking failed.
Unlock
Page unlocking failed.
Unmap
Anonymous mapping release failed.
Random
Operating-system random canary generation failed.
Trait Implementations§
Source§impl Clone for MemoryLockOperation
impl Clone for MemoryLockOperation
Source§fn clone(&self) -> MemoryLockOperation
fn clone(&self) -> MemoryLockOperation
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 MemoryLockOperation
Source§impl Debug for MemoryLockOperation
impl Debug for MemoryLockOperation
impl Eq for MemoryLockOperation
Source§impl PartialEq for MemoryLockOperation
impl PartialEq for MemoryLockOperation
Source§fn eq(&self, other: &MemoryLockOperation) -> bool
fn eq(&self, other: &MemoryLockOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryLockOperation
Auto Trait Implementations§
impl Freeze for MemoryLockOperation
impl RefUnwindSafe for MemoryLockOperation
impl Send for MemoryLockOperation
impl Sync for MemoryLockOperation
impl Unpin for MemoryLockOperation
impl UnsafeUnpin for MemoryLockOperation
impl UnwindSafe for MemoryLockOperation
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