pub struct MasterKey(/* private fields */);Expand description
The vault master key (32 bytes), held in protected memory.
Zeroized on drop, redacted Debug, and — like crate::SecretValue — has
no Display and is not serializable. The bytes are reachable only via
MasterKey::expose, for handing to crate::seal/crate::open.
Implementations§
Trait Implementations§
Source§impl Debug for MasterKey
Redacted Debug: never reveals key material (I12). No Display impl exists.
impl Debug for MasterKey
Redacted Debug: never reveals key material (I12). No Display impl exists.
Auto Trait Implementations§
impl Freeze for MasterKey
impl RefUnwindSafe for MasterKey
impl Send for MasterKey
impl Sync for MasterKey
impl Unpin for MasterKey
impl UnsafeUnpin for MasterKey
impl UnwindSafe for MasterKey
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