[][src]Enum gitlab::GitlabError

pub enum GitlabError {
    UrlParse {
        source: ParseError,
    },
    AuthError {
        source: AuthError,
    },
    Communication {
        source: Error,
    },
    Http {
        status: StatusCode,
    },
    GraphQL {
        message: Vec<Error>,
    },
    NoResponse {},
    DataType {
        source: Error,
        typename: &'static str,
    },
    Api {
        source: ApiError<RestError>,
    },
    // some variants omitted
}

Variants

UrlParse

Fields of UrlParse

source: ParseError
AuthError

Fields of AuthError

source: AuthError
Communication

Fields of Communication

source: Error
Http

Fields of Http

status: StatusCode
GraphQL

Fields of GraphQL

message: Vec<Error>
NoResponse

Fields of NoResponse

DataType

Fields of DataType

source: Errortypename: &'static str
Api

Fields of Api

source: ApiError<RestError>

Trait Implementations

impl Debug for GitlabError[src]

impl Display for GitlabError[src]

impl Error for GitlabError[src]

impl From<ApiError<RestError>> for GitlabError[src]

impl From<AuthError> for GitlabError[src]

impl From<Error> for GitlabError[src]

impl From<ParseError> for GitlabError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.