Enum gitlab::GitlabError [−][src]
#[non_exhaustive] 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>, }, }
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Show fields
Fields of UrlParse
source: ParseError
Show fields
Fields of AuthError
source: AuthError
Show fields
Fields of Communication
source: Error
Show fields
Fields of Http
status: StatusCode
Show fields
Fields of NoResponse
Show fields
Fields of Api
source: ApiError<RestError>
Trait Implementations
impl Error for GitlabError
[src]
impl Error for GitlabError
[src]impl From<ApiError<RestError>> for GitlabError
[src]
impl From<ApiError<RestError>> for GitlabError
[src]impl From<ParseError> for GitlabError
[src]
impl From<ParseError> for GitlabError
[src]fn from(source: ParseError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GitlabError
impl !RefUnwindSafe for GitlabError
impl Send for GitlabError
impl Send for GitlabError
impl Sync for GitlabError
impl Sync for GitlabError
impl Unpin for GitlabError
impl Unpin for GitlabError
impl !UnwindSafe for GitlabError
impl !UnwindSafe for GitlabError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,