pub enum Constraint {
KeyLifetime {
seconds: u32,
},
Confirm,
Extensions {
name: Vec<u8>,
details: Vec<u8>,
},
}
Expand description
Constraints on how keys can be used.
Variants§
KeyLifetime
The key shall disappear from the agent’s memory after that many seconds.
Confirm
Signatures need to be confirmed by the agent (for instance using a dialog).
Extensions
Custom constraints
Trait Implementations§
Source§impl Debug for Constraint
impl Debug for Constraint
Source§impl PartialEq for Constraint
impl PartialEq for Constraint
impl Eq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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