pub enum RecoveredSecrets {
NoneHeld,
NotInCode,
Taken {
keys: usize,
},
Left,
}Expand description
What became of the library’s secrets in a recovery, which takes those that the code holds.
Variants§
NoneHeld
The library had no secrets.
NotInCode
The library had secrets, and the code was made without them: they went with the lost devices.
Taken
The code held them, and this device holds them now, protected as the person chose: this many secrets keys.
Left
The code held them, and the person left them: this device holds none.
Trait Implementations§
Source§impl Clone for RecoveredSecrets
impl Clone for RecoveredSecrets
impl Copy for RecoveredSecrets
Source§impl Debug for RecoveredSecrets
impl Debug for RecoveredSecrets
impl Eq for RecoveredSecrets
Source§impl PartialEq for RecoveredSecrets
impl PartialEq for RecoveredSecrets
impl StructuralPartialEq for RecoveredSecrets
Auto Trait Implementations§
impl Forget for RecoveredSecrets
impl Freeze for RecoveredSecrets
impl Move for RecoveredSecrets
impl RefUnwindSafe for RecoveredSecrets
impl Send for RecoveredSecrets
impl Sync for RecoveredSecrets
impl Unpin for RecoveredSecrets
impl UnsafeUnpin for RecoveredSecrets
impl UnwindSafe for RecoveredSecrets
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.