Enum credentials::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Io(Error),
    Json(DecoderError),
    UnparseableUrl(UrlError),
    Credential(String),
    FileRead(PathBuf),
    InvalidUrl(String),
    MissingEntry(String),
    MissingKeyInPath(String),
    MissingKeyInSecret(StringString),
    MissingVaultAddr,
    MissingVaultToken,
    NoBackend,
    NoHomeDirectory,
    NonUnicodePath(PathBuf),
    Parse(String),
    Secretfile,
    UndefinedEnvironmentVariable(String),
    UnexpectedHttpStatus(StatusCode),
    Url(Url),
}

Variants

Methods

impl ErrorKind

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.