pub enum PinVerdict {
Ok {
first_use: BTreeSet<String>,
downgraded: bool,
},
Conflict {
signer: String,
},
}Expand description
Result of reconciling a vault’s current signer registry against the local pin.
Variants§
Ok
No conflict. first_use lists signer pubkeys seen for the first time on
this machine (newly pinned) — their key is trust-on-first-use, not yet
anchored. A pubkey absent from first_use matched an existing pin, so its
key is anchored by a prior trusted load.
Fields
Conflict
An existing pubkey’s verifying key changed since it was pinned. Never legitimate: the registry was altered to forge this recipient’s signature.
Trait Implementations§
Source§impl Debug for PinVerdict
impl Debug for PinVerdict
impl Eq for PinVerdict
Source§impl PartialEq for PinVerdict
impl PartialEq for PinVerdict
impl StructuralPartialEq for PinVerdict
Auto Trait Implementations§
impl Freeze for PinVerdict
impl RefUnwindSafe for PinVerdict
impl Send for PinVerdict
impl Sync for PinVerdict
impl Unpin for PinVerdict
impl UnsafeUnpin for PinVerdict
impl UnwindSafe for PinVerdict
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