Enum mangadex_api::v5::error::Error [−][src]
pub enum Error {
ParseUrlError(ParseError),
RequestError(Error),
BuilderError(UninitializedFieldError),
MissingTokens,
UsernameError(String),
PasswordError(String),
PingError,
Api(MangaDexErrorResponse),
RequestBuilderError(String),
ParseError(String),
UnexpectedError(Error),
}
Variants
ParseUrlError(ParseError)
Error when parsing a URL.
This should not happen.
Tuple Fields of ParseUrlError
0: ParseError
RequestError(Error)
Tuple Fields of RequestError
0: Error
BuilderError(UninitializedFieldError)
Error when building the request.
Tuple Fields of BuilderError
UsernameError(String)
Tuple Fields of UsernameError
0: String
PasswordError(String)
Tuple Fields of PasswordError
0: String
Errors returned from the MangaDex API request.
Tuple Fields of Api
RequestBuilderError(String)
Error while building the request struct.
Tuple Fields of RequestBuilderError
0: String
ParseError(String)
Error while parsing the type.
Tuple Fields of ParseError
0: String
UnexpectedError(Error)
Tuple Fields of UnexpectedError
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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