[][src]Enum git_credential::Error

pub enum Error {
    ReadError {
        source: Error,
    },
    WriteError {
        source: Error,
    },
    ParseError {
        value: String,
        source: ParseError,
    },
}

Errors that can occur while reading or writing the git credential format

Variants

ReadError

Indicates that there was an error while reading from the given Reader

Fields of ReadError

source: Error

The underlying io error causing the issue

WriteError

Indicates that there was an error while writing to the given Writer

Fields of WriteError

source: Error

The underlying io error causing the issue

ParseError

Indicates that the format received did not correspond to the one specified in git-credential[1] .

Fields of ParseError

value: String

The value that could not be parsed

source: ParseError

The underlying io error causing the issue

Trait Implementations

impl Display for Error[src]

impl Debug for Error[src]

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

impl ErrorCompat for Error[src]

Auto Trait Implementations

impl Unpin for Error

impl Sync for Error

impl Send for Error

impl !UnwindSafe for Error

impl !RefUnwindSafe for Error

Blanket Implementations

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

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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