pub enum ParseRecipientKeyError {
    Ignore,
    Invalid(&'static str),
    Unsupported(String),
}
Available on crate feature ssh only.
Expand description

Error conditions when parsing an SSH recipient.

Variants

Ignore

The string is a parseable value that should be ignored. This case is for handling SSH recipient types that may occur in files we want to be able to parse, but that we do not directly support.

Invalid(&'static str)

The string is not a valid SSH recipient.

Unsupported(String)

The string is a parseable value that corresponds to an unsupported SSH key type.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.