pub enum HrTimerMode {
Show 15 variants
Absolute,
Relative,
Pinned,
Soft,
Hard,
AbsolutePinned,
RelativePinned,
AbsoluteSoft,
RelativeSoft,
AbsolutePinnedSoft,
RelativePinnedSoft,
AbsoluteHard,
RelativeHard,
AbsolutePinnedHard,
RelativePinnedHard,
}
Expand description
Operational mode of HrTimer
.
Variants§
Absolute
Timer expires at the given expiration time.
Relative
Timer expires after the given expiration time interpreted as a duration from now.
Pinned
Timer does not move between CPU cores.
Soft
Timer handler is executed in soft irq context.
Hard
Timer handler is executed in hard irq context.
AbsolutePinned
Timer expires at the given expiration time. Timer does not move between CPU cores.
RelativePinned
Timer expires after the given expiration time interpreted as a duration from now. Timer does not move between CPU cores.
AbsoluteSoft
Timer expires at the given expiration time. Timer handler is executed in soft irq context.
RelativeSoft
Timer expires after the given expiration time interpreted as a duration from now. Timer handler is executed in soft irq context.
AbsolutePinnedSoft
Timer expires at the given expiration time. Timer does not move between CPU cores. Timer handler is executed in soft irq context.
RelativePinnedSoft
Timer expires after the given expiration time interpreted as a duration from now. Timer does not move between CPU cores. Timer handler is executed in soft irq context.
AbsoluteHard
Timer expires at the given expiration time. Timer handler is executed in hard irq context.
RelativeHard
Timer expires after the given expiration time interpreted as a duration from now. Timer handler is executed in hard irq context.
AbsolutePinnedHard
Timer expires at the given expiration time. Timer does not move between CPU cores. Timer handler is executed in hard irq context.
RelativePinnedHard
Timer expires after the given expiration time interpreted as a duration from now. Timer does not move between CPU cores. Timer handler is executed in hard irq context.
Trait Implementations§
Source§impl Clone for HrTimerMode
impl Clone for HrTimerMode
Source§fn clone(&self) -> HrTimerMode
fn clone(&self) -> HrTimerMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for HrTimerMode
impl Debug for HrTimerMode
Source§impl PartialEq for HrTimerMode
impl PartialEq for HrTimerMode
impl Copy for HrTimerMode
impl Eq for HrTimerMode
impl StructuralPartialEq for HrTimerMode
Auto Trait Implementations§
impl Freeze for HrTimerMode
impl RefUnwindSafe for HrTimerMode
impl Send for HrTimerMode
impl Sync for HrTimerMode
impl Unpin for HrTimerMode
impl UnwindSafe for HrTimerMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
slot
. Read more