pub struct RecipientPluginV1<C: Callbacks> { /* private fields */ }
Available on crate feature plugin only.
Expand description

An age plugin with an associated set of recipients.

This struct implements Recipient, enabling the plugin to encrypt a file to the entire set of recipients.

Implementations

Creates an age plugin from a plugin name and lists of recipients and identities.

The lists of recipients and identities will be filtered by the plugin name; recipients that don’t match will be ignored.

Returns an error if the plugin’s binary cannot be found in $PATH.

Trait Implementations

Wraps the given file key, returning stanzas to be placed in an age file header. Read more

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.