Enum thrussh_keys::agent::Constraint [−][src]
pub enum Constraint { KeyLifetime { seconds: u32, }, Confirm, Extensions { name: Vec<u8>, details: Vec<u8>, }, }
Constraints on how keys can be used
Variants
KeyLifetime
The key shall disappear from the agent's memory after that many seconds.
Fields of KeyLifetime
seconds: u32 |
Confirm
Signatures need to be confirmed by the agent (for instance using a dialog).
Extensions
Custom constraints
Fields of Extensions
name: Vec<u8> | |
details: Vec<u8> |
Trait Implementations
impl Debug for Constraint
[src]
impl Debug for Constraint
Auto Trait Implementations
impl Send for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Sync for Constraint