pub enum DateTimeError {
AmbiguousTime {
msg: String,
},
InvalidTime {
text: String,
what: String,
value: i32,
},
IntersectionError {
text: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DateTimeError
impl Clone for DateTimeError
Source§fn clone(&self) -> DateTimeError
fn clone(&self) -> DateTimeError
Returns a duplicate 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 DateTimeError
impl Debug for DateTimeError
Source§impl Display for DateTimeError
impl Display for DateTimeError
Source§impl Fail for DateTimeError
impl Fail for DateTimeError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl PartialEq for DateTimeError
impl PartialEq for DateTimeError
Source§impl Serialize for DateTimeError
impl Serialize for DateTimeError
impl StructuralPartialEq for DateTimeError
Auto Trait Implementations§
impl Freeze for DateTimeError
impl RefUnwindSafe for DateTimeError
impl Send for DateTimeError
impl Sync for DateTimeError
impl Unpin for DateTimeError
impl UnwindSafe for DateTimeError
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