Enum pinentry::Error[][src]

pub enum Error {
    Cancelled,
    Timeout,
    Io(Error),
    Gpg(GpgError),
    Encoding(Utf8Error),
}
Expand description

Errors that may be returned while interacting with pinentry binaries.

Variants

Cancelled

The user cancelled the operation.

Timeout

Operation timed out waiting for the user to respond.

Io

An I/O error occurred while communicating with the pinentry binary.

Tuple Fields of Io

0: Error
Gpg

An uncommon or unexpected GPG error.

Tuple Fields of Gpg

0: GpgError
Encoding

The user’s input doesn’t decode to valid UTF-8.

Tuple Fields of Encoding

0: Utf8Error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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.

Converts the given value to a String. Read more

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.