pub enum DurationError {
InvalidFormat,
OutOfRange,
}
Variants§
Trait Implementations§
Source§impl Clone for DurationError
impl Clone for DurationError
Source§fn clone(&self) -> DurationError
fn clone(&self) -> DurationError
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 DurationError
impl Debug for DurationError
impl Copy for DurationError
Auto Trait Implementations§
impl Freeze for DurationError
impl RefUnwindSafe for DurationError
impl Send for DurationError
impl Sync for DurationError
impl Unpin for DurationError
impl UnwindSafe for DurationError
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