#[non_exhaustive]pub enum TimerControlError {
RequestSequenceExhausted,
GenerationExhausted,
StaleCompletion,
}Expand description
Invalid or exhausted timer-control transition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RequestSequenceExhausted
The monotonic request sequence cannot be incremented.
GenerationExhausted
The callback generation cannot be incremented.
StaleCompletion
Completion did not present the generation that owns execution.
Trait Implementations§
Source§impl Clone for TimerControlError
impl Clone for TimerControlError
Source§fn clone(&self) -> TimerControlError
fn clone(&self) -> TimerControlError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerControlError
Source§impl Debug for TimerControlError
impl Debug for TimerControlError
Source§impl Display for TimerControlError
impl Display for TimerControlError
impl Eq for TimerControlError
Source§impl Error for TimerControlError
impl Error for TimerControlError
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 TimerControlError
impl PartialEq for TimerControlError
impl StructuralPartialEq for TimerControlError
Auto Trait Implementations§
impl Freeze for TimerControlError
impl RefUnwindSafe for TimerControlError
impl Send for TimerControlError
impl Sync for TimerControlError
impl Unpin for TimerControlError
impl UnsafeUnpin for TimerControlError
impl UnwindSafe for TimerControlError
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