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

The key shall disappear from the agent's memory after that many seconds.

Fields of KeyLifetime

Signatures need to be confirmed by the agent (for instance using a dialog).

Custom constraints

Fields of Extensions

Trait Implementations

impl Debug for Constraint
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Constraint

impl Sync for Constraint