pub enum FactorContribution {
CompleteMasterKey,
FactorPiece,
}Expand description
Which piece of the unlock this backend is providing.
Variants§
CompleteMasterKey
This backend provides a complete master key (unwrapped independently).
Used in Any and Policy modes.
FactorPiece
This backend provides a factor piece for combined derivation.
Used in All mode where the master key is HKDF’d from all pieces.
Trait Implementations§
Source§impl Clone for FactorContribution
impl Clone for FactorContribution
Source§fn clone(&self) -> FactorContribution
fn clone(&self) -> FactorContribution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FactorContribution
impl Debug for FactorContribution
Source§impl PartialEq for FactorContribution
impl PartialEq for FactorContribution
impl Copy for FactorContribution
impl Eq for FactorContribution
impl StructuralPartialEq for FactorContribution
Auto Trait Implementations§
impl Freeze for FactorContribution
impl RefUnwindSafe for FactorContribution
impl Send for FactorContribution
impl Sync for FactorContribution
impl Unpin for FactorContribution
impl UnwindSafe for FactorContribution
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