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

pub enum Error {
    ConfigMissingEmail,
    CreateBlockMode {
        source: InvalidKeyIvLength,
    },
    CreateDirectory {
        source: Error,
        file: PathBuf,
    },
    Decrypt {
        source: BlockModeError,
    },
    FailedToParsePinentry {
        out: String,
    },
    FailedToRunEditor {
        editor: PathBuf,
        res: ExitStatus,
    },
    HkdfExpand,
    IncorrectPassword {
        message: String,
    },
    InvalidBase64 {
        source: DecodeError,
    },
    InvalidCipherString {
        reason: String,
    },
    InvalidEditor {
        var: String,
        editor: OsString,
    },
    InvalidMac,
    InvalidTwoFactorProvider {
        ty: String,
    },
    JSON {
        source: Error<Error>,
    },
    LoadConfig {
        source: Error,
        file: PathBuf,
    },
    LoadConfigAsync {
        source: Error,
        file: PathBuf,
    },
    LoadConfigJson {
        source: Error,
        file: PathBuf,
    },
    LoadDb {
        source: Error,
        file: PathBuf,
    },
    LoadDbAsync {
        source: Error,
        file: PathBuf,
    },
    LoadDbJson {
        source: Error,
        file: PathBuf,
    },
    OpenSSL {
        source: ErrorStack,
    },
    ParseMatchType {
        s: String,
    },
    Pbkdf2ZeroIterations,
    PinentryCancelled,
    PinentryErrorMessage {
        error: String,
    },
    PinentryReadOutput {
        source: Error,
    },
    PinentryWait {
        source: Error,
    },
    RemoveDb {
        source: Error,
        file: PathBuf,
    },
    RequestFailed {
        status: u16,
    },
    RequestUnauthorized,
    Reqwest {
        source: Error,
    },
    SaveConfig {
        source: Error,
        file: PathBuf,
    },
    SaveConfigJson {
        source: Error,
        file: PathBuf,
    },
    SaveDb {
        source: Error,
        file: PathBuf,
    },
    SaveDbAsync {
        source: Error,
        file: PathBuf,
    },
    SaveDbJson {
        source: Error,
        file: PathBuf,
    },
    Spawn {
        source: Error,
    },
    TooOldCipherStringType {
        ty: String,
    },
    TwoFactorRequired {
        providers: Vec<TwoFactorProviderType>,
    },
    UnimplementedCipherStringType {
        ty: String,
    },
    WriteStdin {
        source: Error,
    },
}

Variants

ConfigMissingEmail
CreateBlockMode

Fields of CreateBlockMode

source: InvalidKeyIvLength
CreateDirectory

Fields of CreateDirectory

source: Errorfile: PathBuf
Decrypt

Fields of Decrypt

source: BlockModeError
FailedToParsePinentry

Fields of FailedToParsePinentry

out: String
FailedToRunEditor

Fields of FailedToRunEditor

editor: PathBufres: ExitStatus
HkdfExpand
IncorrectPassword

Fields of IncorrectPassword

message: String
InvalidBase64

Fields of InvalidBase64

source: DecodeError
InvalidCipherString

Fields of InvalidCipherString

reason: String
InvalidEditor

Fields of InvalidEditor

var: Stringeditor: OsString
InvalidMac
InvalidTwoFactorProvider

Fields of InvalidTwoFactorProvider

ty: String
JSON

Fields of JSON

source: Error<Error>
LoadConfig

Fields of LoadConfig

source: Errorfile: PathBuf
LoadConfigAsync

Fields of LoadConfigAsync

source: Errorfile: PathBuf
LoadConfigJson

Fields of LoadConfigJson

source: Errorfile: PathBuf
LoadDb

Fields of LoadDb

source: Errorfile: PathBuf
LoadDbAsync

Fields of LoadDbAsync

source: Errorfile: PathBuf
LoadDbJson

Fields of LoadDbJson

source: Errorfile: PathBuf
OpenSSL

Fields of OpenSSL

source: ErrorStack
ParseMatchType

Fields of ParseMatchType

s: String
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: Errorfile: PathBuf
RequestFailed

Fields of RequestFailed

status: u16
RequestUnauthorized
Reqwest

Fields of Reqwest

source: Error
SaveConfig

Fields of SaveConfig

source: Errorfile: PathBuf
SaveConfigJson

Fields of SaveConfigJson

source: Errorfile: PathBuf
SaveDb

Fields of SaveDb

source: Errorfile: PathBuf
SaveDbAsync

Fields of SaveDbAsync

source: Errorfile: PathBuf
SaveDbJson

Fields of SaveDbJson

source: Errorfile: PathBuf
Spawn

Fields of Spawn

source: Error
TooOldCipherStringType

Fields of TooOldCipherStringType

ty: String
TwoFactorRequired

Fields of TwoFactorRequired

providers: Vec<TwoFactorProviderType>
UnimplementedCipherStringType

Fields of UnimplementedCipherStringType

ty: String
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 ConfigMissingEmail where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

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

type Source = InvalidKeyIvLength

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = Error<Error>

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = ErrorStack

The underlying error

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

type Source = NoneError

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<__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<__T0> IntoError<Error> for RemoveDb<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<PathBuf>, 
[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 Decrypt where
    Error: Error + ErrorCompat
[src]

type Source = BlockModeError

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = Error

The underlying error

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

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for TwoFactorRequired<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<Vec<TwoFactorProviderType>>, 
[src]

type Source = NoneError

The underlying error

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

type Source = NoneError

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 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<__T0> IntoError<Error> for IncorrectPassword<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

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

type Source = DecodeError

The underlying error

impl<__T0> IntoError<Error> for InvalidCipherString<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[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> Instrument 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>,