pub struct TimeframeError(pub String);Expand description
Why an interval string could not be read as a timeframe.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for TimeframeError
impl Debug for TimeframeError
Source§impl Display for TimeframeError
impl Display for TimeframeError
impl Eq for TimeframeError
Source§impl Error for TimeframeError
impl Error for TimeframeError
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 TimeframeError
impl PartialEq for TimeframeError
impl StructuralPartialEq for TimeframeError
Auto Trait Implementations§
impl Freeze for TimeframeError
impl RefUnwindSafe for TimeframeError
impl Send for TimeframeError
impl Sync for TimeframeError
impl Unpin for TimeframeError
impl UnsafeUnpin for TimeframeError
impl UnwindSafe for TimeframeError
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