pub enum LockedSecretInitError {
Allocation(MemoryLockError),
Integrity(CanaryCorruptedError),
}Expand description
Error returned while initializing locked fixed-size secret storage.
Variants§
Allocation(MemoryLockError)
Mapping, memory policy, locking, or random-canary setup failed.
Integrity(CanaryCorruptedError)
Canary verification failed before initialization completed.
Trait Implementations§
Source§impl Clone for LockedSecretInitError
impl Clone for LockedSecretInitError
Source§fn clone(&self) -> LockedSecretInitError
fn clone(&self) -> LockedSecretInitError
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 LockedSecretInitError
Source§impl Debug for LockedSecretInitError
impl Debug for LockedSecretInitError
Source§impl Display for LockedSecretInitError
impl Display for LockedSecretInitError
impl Eq for LockedSecretInitError
Source§impl Error for LockedSecretInitError
Available on crate feature std only.
impl Error for LockedSecretInitError
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for LockedSecretInitError
impl PartialEq for LockedSecretInitError
impl StructuralPartialEq for LockedSecretInitError
Auto Trait Implementations§
impl Freeze for LockedSecretInitError
impl RefUnwindSafe for LockedSecretInitError
impl Send for LockedSecretInitError
impl Sync for LockedSecretInitError
impl Unpin for LockedSecretInitError
impl UnsafeUnpin for LockedSecretInitError
impl UnwindSafe for LockedSecretInitError
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