pub enum HardKernelTimerAction {
Complete,
Disarm,
Rearm(MonotonicDeadline),
}Expand description
Result returned by an explicitly hard-expiry callback.
Variants§
Complete
Destroy this registration after task-context reclamation.
Disarm
Keep the stable registration inactive until task context arms it again.
Rearm(MonotonicDeadline)
Reinsert the same registration at a new absolute deadline.
Trait Implementations§
Source§impl Clone for HardKernelTimerAction
impl Clone for HardKernelTimerAction
Source§fn clone(&self) -> HardKernelTimerAction
fn clone(&self) -> HardKernelTimerAction
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 HardKernelTimerAction
Source§impl Debug for HardKernelTimerAction
impl Debug for HardKernelTimerAction
impl Eq for HardKernelTimerAction
Source§impl PartialEq for HardKernelTimerAction
impl PartialEq for HardKernelTimerAction
impl StructuralPartialEq for HardKernelTimerAction
Auto Trait Implementations§
impl Freeze for HardKernelTimerAction
impl RefUnwindSafe for HardKernelTimerAction
impl Send for HardKernelTimerAction
impl Sync for HardKernelTimerAction
impl Unpin for HardKernelTimerAction
impl UnsafeUnpin for HardKernelTimerAction
impl UnwindSafe for HardKernelTimerAction
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