pub enum Unlocker<'a> {
Passphrase(&'a str),
Keystore,
}Expand description
What unlocks a compartment.
Variants§
Passphrase(&'a str)
The passphrase.
Keystore
The key in the platform’s keystore, which the platform may release only after its own confirmation.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Unlocker<'a>
impl<'a> Freeze for Unlocker<'a>
impl<'a> Move for Unlocker<'a>
impl<'a> RefUnwindSafe for Unlocker<'a>
impl<'a> Send for Unlocker<'a>
impl<'a> Sync for Unlocker<'a>
impl<'a> Unpin for Unlocker<'a>
impl<'a> UnsafeUnpin for Unlocker<'a>
impl<'a> UnwindSafe for Unlocker<'a>
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