#[non_exhaustive]pub enum MemoryLockPosture {
NotProvided,
}Expand description
Whether this crate locks secret allocations into physical memory.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotProvided
The crate does not lock memory. Deployments that need locked secret
pages must use platform controls outside base64-ng.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryLockPosture
impl Clone for MemoryLockPosture
Source§fn clone(&self) -> MemoryLockPosture
fn clone(&self) -> MemoryLockPosture
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 MemoryLockPosture
Source§impl Debug for MemoryLockPosture
impl Debug for MemoryLockPosture
Source§impl Display for MemoryLockPosture
impl Display for MemoryLockPosture
impl Eq for MemoryLockPosture
Source§impl PartialEq for MemoryLockPosture
impl PartialEq for MemoryLockPosture
Source§fn eq(&self, other: &MemoryLockPosture) -> bool
fn eq(&self, other: &MemoryLockPosture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryLockPosture
Auto Trait Implementations§
impl Freeze for MemoryLockPosture
impl RefUnwindSafe for MemoryLockPosture
impl Send for MemoryLockPosture
impl Sync for MemoryLockPosture
impl Unpin for MemoryLockPosture
impl UnsafeUnpin for MemoryLockPosture
impl UnwindSafe for MemoryLockPosture
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