pub enum DeadlineError {
OutOfRange,
}Expand description
Failure while constructing a monotonic deadline.
Variants§
OutOfRange
The relative duration exceeded the monotonic clock’s range.
Trait Implementations§
Source§impl Clone for DeadlineError
impl Clone for DeadlineError
impl Copy for DeadlineError
Source§impl Debug for DeadlineError
impl Debug for DeadlineError
Source§impl Display for DeadlineError
impl Display for DeadlineError
impl Eq for DeadlineError
Source§impl Error for DeadlineError
impl Error for DeadlineError
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 DeadlineError
impl PartialEq for DeadlineError
impl StructuralPartialEq for DeadlineError
Auto Trait Implementations§
impl Freeze for DeadlineError
impl RefUnwindSafe for DeadlineError
impl Send for DeadlineError
impl Sync for DeadlineError
impl Unpin for DeadlineError
impl UnsafeUnpin for DeadlineError
impl UnwindSafe for DeadlineError
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