Enum age::Decryptor[][src]

pub enum Decryptor<R> {
    Recipients(RecipientsDecryptor<R>),
    Passphrase(PassphraseDecryptor<R>),
}
Expand description

Decryptor for an age file.

Variants

Recipients(RecipientsDecryptor<R>)

Tuple Fields

Decryption with a list of identities.

Passphrase(PassphraseDecryptor<R>)

Tuple Fields

Decryption with a passphrase.

Implementations

Attempts to create a decryptor for an age file.

Returns an error if the input does not contain a valid age file.

This is supported on crate feature async only.

Attempts to create a decryptor for an age file.

Returns an error if the input does not contain a valid age file.

Trait Implementations

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.