Enum radicle_ssh::agent::Constraint
source · 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
source§fn eq(&self, other: &Constraint) -> bool
fn eq(&self, other: &Constraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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