pub enum TimebarError {
InvalidInput(String),
IoError(String),
InvalidInteger,
InvalidCommand,
InvalidDateFormat,
InvalidDateRange,
InvalidDurationFormat,
}
Variants§
InvalidInput(String)
IoError(String)
InvalidInteger
InvalidCommand
InvalidDateFormat
InvalidDateRange
InvalidDurationFormat
Trait Implementations§
Source§impl Clone for TimebarError
impl Clone for TimebarError
Source§fn clone(&self) -> TimebarError
fn clone(&self) -> TimebarError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimebarError
impl Debug for TimebarError
Source§impl Display for TimebarError
impl Display for TimebarError
Source§impl Error for TimebarError
impl Error for TimebarError
1.30.0 · 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 TimebarError
impl From<Error> for TimebarError
Source§impl PartialEq for TimebarError
impl PartialEq for TimebarError
impl StructuralPartialEq for TimebarError
Auto Trait Implementations§
impl Freeze for TimebarError
impl RefUnwindSafe for TimebarError
impl Send for TimebarError
impl Sync for TimebarError
impl Unpin for TimebarError
impl UnwindSafe for TimebarError
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