pub enum TimerWheelError {
InvalidTimerId,
InvalidDeadline,
CapacityExceeded,
Overflow,
TimerNotFound,
}Expand description
Error types for timer wheel operations
Variants§
InvalidTimerId
Timer ID exceeds maximum supported value
InvalidDeadline
Timer deadline is invalid (negative, overflow, etc.)
CapacityExceeded
Capacity limit exceeded
Overflow
Integer overflow in calculations
TimerNotFound
Timer ID does not correspond to a valid timer
Trait Implementations§
Source§impl Clone for TimerWheelError
impl Clone for TimerWheelError
Source§fn clone(&self) -> TimerWheelError
fn clone(&self) -> TimerWheelError
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 TimerWheelError
impl Debug for TimerWheelError
Source§impl PartialEq for TimerWheelError
impl PartialEq for TimerWheelError
impl Eq for TimerWheelError
impl StructuralPartialEq for TimerWheelError
Auto Trait Implementations§
impl Freeze for TimerWheelError
impl RefUnwindSafe for TimerWheelError
impl Send for TimerWheelError
impl Sync for TimerWheelError
impl Unpin for TimerWheelError
impl UnwindSafe for TimerWheelError
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