pub struct ErrorDurationOutOfRange(pub u64);Expand description
Error indicating that a Duration cannot be represented as an AutomaticReport interval (0-255 seconds).
Tuple Fields§
§0: u64The invalid duration value that caused the error.
Trait Implementations§
Source§impl Debug for ErrorDurationOutOfRange
impl Debug for ErrorDurationOutOfRange
Source§impl Display for ErrorDurationOutOfRange
impl Display for ErrorDurationOutOfRange
Source§impl Error for ErrorDurationOutOfRange
impl Error for ErrorDurationOutOfRange
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 ErrorDurationOutOfRange
impl PartialEq for ErrorDurationOutOfRange
impl Eq for ErrorDurationOutOfRange
impl StructuralPartialEq for ErrorDurationOutOfRange
Auto Trait Implementations§
impl Freeze for ErrorDurationOutOfRange
impl RefUnwindSafe for ErrorDurationOutOfRange
impl Send for ErrorDurationOutOfRange
impl Sync for ErrorDurationOutOfRange
impl Unpin for ErrorDurationOutOfRange
impl UnwindSafe for ErrorDurationOutOfRange
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