pub struct UnknownTimeScaleError(/* private fields */);Expand description
Error returned when parsing an unknown time scale abbreviation.
Trait Implementations§
Source§impl Clone for UnknownTimeScaleError
impl Clone for UnknownTimeScaleError
Source§fn clone(&self) -> UnknownTimeScaleError
fn clone(&self) -> UnknownTimeScaleError
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 UnknownTimeScaleError
impl Debug for UnknownTimeScaleError
Source§impl Display for UnknownTimeScaleError
impl Display for UnknownTimeScaleError
Source§impl Error for UnknownTimeScaleError
impl Error for UnknownTimeScaleError
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 PartialEq for UnknownTimeScaleError
impl PartialEq for UnknownTimeScaleError
impl Eq for UnknownTimeScaleError
impl StructuralPartialEq for UnknownTimeScaleError
Auto Trait Implementations§
impl Freeze for UnknownTimeScaleError
impl RefUnwindSafe for UnknownTimeScaleError
impl Send for UnknownTimeScaleError
impl Sync for UnknownTimeScaleError
impl Unpin for UnknownTimeScaleError
impl UnsafeUnpin for UnknownTimeScaleError
impl UnwindSafe for UnknownTimeScaleError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more