pub enum RosettaError {
ParseError(String),
FormatError(String),
TimezoneError(String),
UnsupportedLanguage(String),
TimeError(Error),
TimeParseError(Parse),
}Variants§
ParseError(String)
FormatError(String)
TimezoneError(String)
UnsupportedLanguage(String)
TimeError(Error)
TimeParseError(Parse)
Trait Implementations§
Source§impl Debug for RosettaError
impl Debug for RosettaError
Source§impl Display for RosettaError
impl Display for RosettaError
Source§impl Error for RosettaError
impl Error for RosettaError
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 RosettaError
impl From<Error> for RosettaError
Auto Trait Implementations§
impl Freeze for RosettaError
impl !RefUnwindSafe for RosettaError
impl Send for RosettaError
impl Sync for RosettaError
impl Unpin for RosettaError
impl UnsafeUnpin for RosettaError
impl !UnwindSafe for RosettaError
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