pub enum AcariError {
Io(Error),
Time(SystemTimeError),
DateFormat(ParseError),
Request(Error),
Json(Error),
Url(ParseError),
Mite(u16, String),
UserError(String),
InternalError(String),
ParseNum(ParseIntError),
}
Variants§
Io(Error)
Time(SystemTimeError)
DateFormat(ParseError)
Request(Error)
Json(Error)
Url(ParseError)
Mite(u16, String)
UserError(String)
InternalError(String)
ParseNum(ParseIntError)
Trait Implementations§
Source§impl Debug for AcariError
impl Debug for AcariError
Source§impl Display for AcariError
impl Display for AcariError
Source§impl Error for AcariError
impl Error for AcariError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 AcariError
impl From<Error> for AcariError
Source§fn from(err: Error) -> AcariError
fn from(err: Error) -> AcariError
Converts to this type from the input type.
Source§impl From<Error> for AcariError
impl From<Error> for AcariError
Source§fn from(err: Error) -> AcariError
fn from(err: Error) -> AcariError
Converts to this type from the input type.
Source§impl From<Error> for AcariError
impl From<Error> for AcariError
Source§fn from(err: Error) -> AcariError
fn from(err: Error) -> AcariError
Converts to this type from the input type.
Source§impl From<ParseError> for AcariError
impl From<ParseError> for AcariError
Source§fn from(err: ParseError) -> AcariError
fn from(err: ParseError) -> AcariError
Converts to this type from the input type.
Source§impl From<ParseError> for AcariError
impl From<ParseError> for AcariError
Source§fn from(err: ParseError) -> AcariError
fn from(err: ParseError) -> AcariError
Converts to this type from the input type.
Source§impl From<ParseIntError> for AcariError
impl From<ParseIntError> for AcariError
Source§fn from(err: ParseIntError) -> AcariError
fn from(err: ParseIntError) -> AcariError
Converts to this type from the input type.
Source§impl From<SystemTimeError> for AcariError
impl From<SystemTimeError> for AcariError
Source§fn from(err: SystemTimeError) -> AcariError
fn from(err: SystemTimeError) -> AcariError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AcariError
impl !RefUnwindSafe for AcariError
impl Send for AcariError
impl Sync for AcariError
impl Unpin for AcariError
impl !UnwindSafe for AcariError
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