Enum wallabag_api::errors::ClientError [−][src]
pub enum ClientError { SurfError(Error), SerdeJsonError(Error), Unauthorized(ResponseError), Forbidden(ResponseCodeMessageError), ExpiredToken, IOError(Error), UrlParseError(ParseError), UrlEncodeError(Error), UnexpectedJsonStructure, NotFound(ResponseCodeMessageError), NotModified, Other(StatusCode, String), }
Expand description
Represents all error possibilities that could be returned by the client.
Variants
Tuple Fields of SerdeJsonError
0: Error
Tuple Fields of Unauthorized
Tuple Fields of Forbidden
Tuple Fields of IOError
0: Error
Tuple Fields of UrlParseError
0: ParseError
Tuple Fields of UrlEncodeError
0: Error
Tuple Fields of NotFound
Tuple Fields of Other
0: StatusCode
1: String
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more