pub enum LockingMode {
Strict,
Permissive,
}Expand description
Configuration for memory locking behavior
Variants§
Strict
Require memory locking - fail if mlock is not available
Permissive
Allow fallback if mlock fails (less secure, logs warning)
Trait Implementations§
Source§impl Clone for LockingMode
impl Clone for LockingMode
Source§fn clone(&self) -> LockingMode
fn clone(&self) -> LockingMode
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 LockingMode
impl Debug for LockingMode
Source§impl PartialEq for LockingMode
impl PartialEq for LockingMode
impl Copy for LockingMode
impl StructuralPartialEq for LockingMode
Auto Trait Implementations§
impl Freeze for LockingMode
impl RefUnwindSafe for LockingMode
impl Send for LockingMode
impl Sync for LockingMode
impl Unpin for LockingMode
impl UnsafeUnpin for LockingMode
impl UnwindSafe for LockingMode
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