[][src]Enum gitlab::GitlabError

pub enum GitlabError {
    UrlParse {
        source: UrlError,
    },
    NoSuchUser {
        user: String,
    },
    TokenError {
        source: TokenError,
    },
    Communication {
        source: Error,
    },
    Http {
        status: StatusCode,
    },
    Json {
        source: Error,
    },
    Gitlab {
        msg: String,
    },
    DataType {
        source: Error,
        typename: Option<&'static str>,
    },
    // some variants omitted
}

Variants

UrlParse

Fields of UrlParse

source: UrlError
NoSuchUser

Fields of NoSuchUser

user: String
TokenError

Fields of TokenError

source: TokenError
Communication

Fields of Communication

source: Error
Http

Fields of Http

status: StatusCode
Json

Fields of Json

source: Error
Gitlab

Fields of Gitlab

msg: String
DataType

Fields of DataType

source: Errortypename: Option<&'static str>

Trait Implementations

impl From<ParseError> for GitlabError[src]

impl From<TokenError> for GitlabError[src]

impl From<Error> for GitlabError[src]

impl Display for GitlabError[src]

impl Debug for GitlabError[src]

impl Error for GitlabError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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