pub struct StaticMasterKey(pub Zeroizing<Vec<u8>>);Expand description
A vault whose master key the host supplies (for example derived from its own keystore), so the vault file opens only where that host can derive it again.
Tuple Fields§
§0: Zeroizing<Vec<u8>>Trait Implementations§
Source§impl MasterKeySource for StaticMasterKey
impl MasterKeySource for StaticMasterKey
Auto Trait Implementations§
impl Freeze for StaticMasterKey
impl RefUnwindSafe for StaticMasterKey
impl Send for StaticMasterKey
impl Sync for StaticMasterKey
impl Unpin for StaticMasterKey
impl UnsafeUnpin for StaticMasterKey
impl UnwindSafe for StaticMasterKey
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