pub enum DeadLineTimerError {
KeyNotFound,
Closed,
}Expand description
Errors that may occur during DeadLineTimer operations.
Variants§
KeyNotFound
The entry corresponding to the specified key does not exist.
Closed
The DeadlineTimer cannot be operated on (e.g., already stopped).
Trait Implementations§
Source§impl Clone for DeadLineTimerError
impl Clone for DeadLineTimerError
Source§fn clone(&self) -> DeadLineTimerError
fn clone(&self) -> DeadLineTimerError
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 DeadLineTimerError
impl Debug for DeadLineTimerError
Source§impl Display for DeadLineTimerError
impl Display for DeadLineTimerError
Source§impl Error for DeadLineTimerError
impl Error for DeadLineTimerError
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 DeadLineTimerError
impl PartialEq for DeadLineTimerError
impl Copy for DeadLineTimerError
impl Eq for DeadLineTimerError
impl StructuralPartialEq for DeadLineTimerError
Auto Trait Implementations§
impl Freeze for DeadLineTimerError
impl RefUnwindSafe for DeadLineTimerError
impl Send for DeadLineTimerError
impl Sync for DeadLineTimerError
impl Unpin for DeadLineTimerError
impl UnwindSafe for DeadLineTimerError
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