pub enum ScheduleAfterRejection {
DeadlineOverflow,
QueueGenerationExhausted,
QueueSequenceExhausted,
}Expand description
Exact reason a relative timer request was rejected before scheduling.
Variants§
DeadlineOverflow
Adding the delay to the interpreter’s current instant overflowed.
QueueGenerationExhausted
The timer queue cannot issue another internal generation.
QueueSequenceExhausted
The timer queue cannot issue another stable insertion sequence.
Trait Implementations§
Source§impl Clone for ScheduleAfterRejection
impl Clone for ScheduleAfterRejection
Source§fn clone(&self) -> ScheduleAfterRejection
fn clone(&self) -> ScheduleAfterRejection
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 ScheduleAfterRejection
impl Debug for ScheduleAfterRejection
Source§impl Display for ScheduleAfterRejection
impl Display for ScheduleAfterRejection
Source§impl Error for ScheduleAfterRejection
impl Error for ScheduleAfterRejection
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 ScheduleAfterRejection
impl PartialEq for ScheduleAfterRejection
impl Copy for ScheduleAfterRejection
impl Eq for ScheduleAfterRejection
impl StructuralPartialEq for ScheduleAfterRejection
Auto Trait Implementations§
impl Freeze for ScheduleAfterRejection
impl RefUnwindSafe for ScheduleAfterRejection
impl Send for ScheduleAfterRejection
impl Sync for ScheduleAfterRejection
impl Unpin for ScheduleAfterRejection
impl UnsafeUnpin for ScheduleAfterRejection
impl UnwindSafe for ScheduleAfterRejection
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