pub struct StagedMasterKeyCustody { /* private fields */ }Expand description
A generated master key retained in memory until cloud setup commits.
Implementations§
Trait Implementations§
Source§impl MasterKeyCustody for StagedMasterKeyCustody
impl MasterKeyCustody for StagedMasterKeyCustody
Source§fn unlock(&self) -> Result<Option<MasterKeyring>, KeyError>
fn unlock(&self) -> Result<Option<MasterKeyring>, KeyError>
The store’s master keyring for this session.
Ok(None) means the store
has never had one established (a fresh store before create/join) —
distinct from a failure to produce one (wrong passphrase, unreadable
backing store), which is Err.Auto Trait Implementations§
impl !Freeze for StagedMasterKeyCustody
impl !RefUnwindSafe for StagedMasterKeyCustody
impl Send for StagedMasterKeyCustody
impl Sync for StagedMasterKeyCustody
impl Unpin for StagedMasterKeyCustody
impl UnsafeUnpin for StagedMasterKeyCustody
impl !UnwindSafe for StagedMasterKeyCustody
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