pub enum KernelTimerCancelOutcome {
Cancelled,
CancellationDeferred,
AlreadyCompleted,
}Expand description
Outcome of a non-blocking kernel-timer cancellation attempt.
Variants§
Cancelled
The registration was removed and its payload is reclaimed before return.
CancellationDeferred
Cancellation was accepted, but a claimed callback or deferred payload reclamation is still in flight. The callback cannot restart itself. This result does not permit the caller to release borrowed resources.
AlreadyCompleted
No registration remains in the base for this handle. Another caller may still be reclaiming a removed payload; this is not a reclamation fence.
Trait Implementations§
Source§impl Clone for KernelTimerCancelOutcome
impl Clone for KernelTimerCancelOutcome
Source§fn clone(&self) -> KernelTimerCancelOutcome
fn clone(&self) -> KernelTimerCancelOutcome
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 KernelTimerCancelOutcome
Source§impl Debug for KernelTimerCancelOutcome
impl Debug for KernelTimerCancelOutcome
impl Eq for KernelTimerCancelOutcome
Source§impl PartialEq for KernelTimerCancelOutcome
impl PartialEq for KernelTimerCancelOutcome
impl StructuralPartialEq for KernelTimerCancelOutcome
Auto Trait Implementations§
impl Freeze for KernelTimerCancelOutcome
impl RefUnwindSafe for KernelTimerCancelOutcome
impl Send for KernelTimerCancelOutcome
impl Sync for KernelTimerCancelOutcome
impl Unpin for KernelTimerCancelOutcome
impl UnsafeUnpin for KernelTimerCancelOutcome
impl UnwindSafe for KernelTimerCancelOutcome
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