pub enum KernelTimerAction {
Complete,
Rearm(MonotonicDeadline),
}Expand description
Result returned by a restartable kernel-timer callback.
Variants§
Complete
Finish this registration after the current callback.
Rearm(MonotonicDeadline)
Reinsert the same registration at a new absolute deadline.
Trait Implementations§
Source§impl Clone for KernelTimerAction
impl Clone for KernelTimerAction
Source§fn clone(&self) -> KernelTimerAction
fn clone(&self) -> KernelTimerAction
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 KernelTimerAction
Source§impl Debug for KernelTimerAction
impl Debug for KernelTimerAction
impl Eq for KernelTimerAction
Source§impl PartialEq for KernelTimerAction
impl PartialEq for KernelTimerAction
impl StructuralPartialEq for KernelTimerAction
Auto Trait Implementations§
impl Freeze for KernelTimerAction
impl RefUnwindSafe for KernelTimerAction
impl Send for KernelTimerAction
impl Sync for KernelTimerAction
impl Unpin for KernelTimerAction
impl UnsafeUnpin for KernelTimerAction
impl UnwindSafe for KernelTimerAction
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