[][src]Enum rbw::error::Error

pub enum Error {
    CreateBlockMode {
        source: InvalidKeyIvLength,
    },
    CreateDirectory {
        source: Error,
    },
    Decrypt {
        source: BlockModeError,
    },
    FailedToParsePinentry {
        out: String,
    },
    FailedToRunEditor {
        editor: PathBuf,
        res: ExitStatus,
    },
    HkdfExpand,
    IncorrectPassword,
    InvalidBase64 {
        source: DecodeError,
    },
    InvalidCipherString,
    InvalidEditor {
        editor: OsString,
    },
    InvalidMac,
    LoadConfig {
        source: Error,
    },
    LoadConfigAsync {
        source: Error,
    },
    LoadConfigJson {
        source: Error,
    },
    LoadDb {
        source: Error,
    },
    LoadDbAsync {
        source: Error,
    },
    LoadDbJson {
        source: Error,
    },
    OpenSSL {
        source: ErrorStack,
    },
    Pbkdf2ZeroIterations,
    PinentryCancelled,
    PinentryErrorMessage {
        error: String,
    },
    PinentryReadOutput {
        source: Error,
    },
    PinentryWait {
        source: Error,
    },
    RemoveDb {
        source: Error,
    },
    RequestFailed {
        status: u16,
    },
    RequestUnauthorized,
    Reqwest {
        source: Error,
    },
    SaveConfig {
        source: Error,
    },
    SaveConfigJson {
        source: Error,
    },
    SaveDb {
        source: Error,
    },
    SaveDbAsync {
        source: Error,
    },
    SaveDbJson {
        source: Error,
    },
    Spawn {
        source: Error,
    },
    WriteStdin {
        source: Error,
    },
}

Variants

CreateBlockMode

Fields of CreateBlockMode

source: InvalidKeyIvLength
CreateDirectory

Fields of CreateDirectory

source: Error
Decrypt

Fields of Decrypt

source: BlockModeError
FailedToParsePinentry

Fields of FailedToParsePinentry

out: String
FailedToRunEditor

Fields of FailedToRunEditor

editor: PathBufres: ExitStatus
HkdfExpand
IncorrectPassword
InvalidBase64

Fields of InvalidBase64

source: DecodeError
InvalidCipherString
InvalidEditor

Fields of InvalidEditor

editor: OsString
InvalidMac
LoadConfig

Fields of LoadConfig

source: Error
LoadConfigAsync

Fields of LoadConfigAsync

source: Error
LoadConfigJson

Fields of LoadConfigJson

source: Error
LoadDb

Fields of LoadDb

source: Error
LoadDbAsync

Fields of LoadDbAsync

source: Error
LoadDbJson

Fields of LoadDbJson

source: Error
OpenSSL

Fields of OpenSSL

source: ErrorStack
Pbkdf2ZeroIterations
PinentryCancelled
PinentryErrorMessage

Fields of PinentryErrorMessage

error: String
PinentryReadOutput

Fields of PinentryReadOutput

source: Error
PinentryWait

Fields of PinentryWait

source: Error
RemoveDb

Fields of RemoveDb

source: Error
RequestFailed

Fields of RequestFailed

status: u16
RequestUnauthorized
Reqwest

Fields of Reqwest

source: Error
SaveConfig

Fields of SaveConfig

source: Error
SaveConfigJson

Fields of SaveConfigJson

source: Error
SaveDb

Fields of SaveDb

source: Error
SaveDbAsync

Fields of SaveDbAsync

source: Error
SaveDbJson

Fields of SaveDbJson

source: Error
Spawn

Fields of Spawn

source: Error
WriteStdin

Fields of WriteStdin

source: Error

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

impl ErrorCompat for Error[src]

impl IntoError<Error> for CreateBlockMode where
    Error: Error + ErrorCompat
[src]

type Source = InvalidKeyIvLength

The underlying error

impl IntoError<Error> for CreateDirectory where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for InvalidMac where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for LoadConfig where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for LoadConfigAsync where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for LoadConfigJson where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for LoadDb where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for LoadDbAsync where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for LoadDbJson where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for OpenSSL where
    Error: Error + ErrorCompat
[src]

type Source = ErrorStack

The underlying error

impl IntoError<Error> for Pbkdf2ZeroIterations where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for PinentryCancelled where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Decrypt where
    Error: Error + ErrorCompat
[src]

type Source = BlockModeError

The underlying error

impl<__T0> IntoError<Error> for PinentryErrorMessage<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for PinentryReadOutput where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for PinentryWait where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for RemoveDb where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<Error> for RequestFailed<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<u16>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for RequestUnauthorized where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Reqwest where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for SaveConfig where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for SaveConfigJson where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for SaveDb where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<Error> for FailedToParsePinentry<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for SaveDbAsync where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for SaveDbJson where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for Spawn where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl IntoError<Error> for WriteStdin where
    Error: Error + ErrorCompat
[src]

type Source = Error

The underlying error

impl<__T0, __T1> IntoError<Error> for FailedToRunEditor<__T0, __T1> where
    Error: Error + ErrorCompat,
    __T0: Into<PathBuf>,
    __T1: Into<ExitStatus>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for HkdfExpand where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for IncorrectPassword where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for InvalidBase64 where
    Error: Error + ErrorCompat
[src]

type Source = DecodeError

The underlying error

impl IntoError<Error> for InvalidCipherString where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidEditor<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<OsString>, 
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> AsFail for T where
    T: Fail, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,