pub struct OppositeSignInDurationComponentsError;Expand description
The year-month and the day-time components of a Duration have an opposite sign.
Trait Implementations§
Source§impl Clone for OppositeSignInDurationComponentsError
impl Clone for OppositeSignInDurationComponentsError
Source§fn clone(&self) -> OppositeSignInDurationComponentsError
fn clone(&self) -> OppositeSignInDurationComponentsError
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 Error for OppositeSignInDurationComponentsError
impl Error for OppositeSignInDurationComponentsError
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<OppositeSignInDurationComponentsError> for ParseDurationError
impl From<OppositeSignInDurationComponentsError> for ParseDurationError
Source§fn from(_: OppositeSignInDurationComponentsError) -> Self
fn from(_: OppositeSignInDurationComponentsError) -> Self
Converts to this type from the input type.
impl Copy for OppositeSignInDurationComponentsError
Auto Trait Implementations§
impl Freeze for OppositeSignInDurationComponentsError
impl RefUnwindSafe for OppositeSignInDurationComponentsError
impl Send for OppositeSignInDurationComponentsError
impl Sync for OppositeSignInDurationComponentsError
impl Unpin for OppositeSignInDurationComponentsError
impl UnsafeUnpin for OppositeSignInDurationComponentsError
impl UnwindSafe for OppositeSignInDurationComponentsError
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