Enum nekosbest::NekosBestError
source · pub enum NekosBestError {
ReqwestError(Error),
NotFound,
Decoding(Error),
DecodingHeader(HeaderDeserializeUrlEncodedError),
UrlParseError(ParseError),
MissingContentType,
IO(Error),
RateLimited,
}
Variants§
ReqwestError(Error)
NotFound
Decoding(Error)
DecodingHeader(HeaderDeserializeUrlEncodedError)
UrlParseError(ParseError)
MissingContentType
IO(Error)
RateLimited
Trait Implementations§
source§impl Debug for NekosBestError
impl Debug for NekosBestError
source§impl Display for NekosBestError
impl Display for NekosBestError
source§impl Error for NekosBestError
impl Error for NekosBestError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for NekosBestError
impl From<Error> for NekosBestError
source§impl From<Error> for NekosBestError
impl From<Error> for NekosBestError
source§impl From<Error> for NekosBestError
impl From<Error> for NekosBestError
source§impl From<HeaderDeserializeUrlEncodedError> for NekosBestError
impl From<HeaderDeserializeUrlEncodedError> for NekosBestError
source§fn from(source: HeaderDeserializeUrlEncodedError) -> Self
fn from(source: HeaderDeserializeUrlEncodedError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for NekosBestError
impl From<ParseError> for NekosBestError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NekosBestError
impl Send for NekosBestError
impl Sync for NekosBestError
impl Unpin for NekosBestError
impl !UnwindSafe for NekosBestError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more