Enum TimerError
pub enum TimerError<EntryType> {
    NotFound,
    Expired(EntryType),
}Expand description
Errors encounted by a timer implementation
Variants§
NotFound
The timeout with the given id was not found
Expired(EntryType)
The timout has already expired
Trait Implementations§
Auto Trait Implementations§
impl<EntryType> Freeze for TimerError<EntryType>where
    EntryType: Freeze,
impl<EntryType> RefUnwindSafe for TimerError<EntryType>where
    EntryType: RefUnwindSafe,
impl<EntryType> Send for TimerError<EntryType>where
    EntryType: Send,
impl<EntryType> Sync for TimerError<EntryType>where
    EntryType: Sync,
impl<EntryType> Unpin for TimerError<EntryType>where
    EntryType: Unpin,
impl<EntryType> UnwindSafe for TimerError<EntryType>where
    EntryType: UnwindSafe,
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