HrTimerMode

Trait HrTimerMode 

Source
pub trait HrTimerMode: Sealed {
    type Clock: ClockSource;
    type Expires: HrTimerExpires;

    const C_MODE: hrtimer_mode;
}
Expand description

Operational mode of HrTimer.

Required Associated Constants§

Source

const C_MODE: hrtimer_mode

The C representation of hrtimer mode.

Required Associated Types§

Source

type Clock: ClockSource

Type representing the clock source.

Source

type Expires: HrTimerExpires

Type representing the expiration specification (absolute or relative time).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C: ClockSource> HrTimerMode for AbsoluteHardMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS_HARD

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for AbsoluteMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for AbsolutePinnedHardMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS_PINNED_HARD

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for AbsolutePinnedMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS_PINNED

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for AbsolutePinnedSoftMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS_PINNED_SOFT

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for AbsoluteSoftMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_ABS_SOFT

Source§

type Clock = C

Source§

type Expires = Instant<C>

Source§

impl<C: ClockSource> HrTimerMode for RelativeHardMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL_HARD

Source§

type Clock = C

Source§

type Expires = Delta

Source§

impl<C: ClockSource> HrTimerMode for RelativeMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL

Source§

type Clock = C

Source§

type Expires = Delta

Source§

impl<C: ClockSource> HrTimerMode for RelativePinnedHardMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL_PINNED_HARD

Source§

type Clock = C

Source§

type Expires = Delta

Source§

impl<C: ClockSource> HrTimerMode for RelativePinnedMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL_PINNED

Source§

type Clock = C

Source§

type Expires = Delta

Source§

impl<C: ClockSource> HrTimerMode for RelativePinnedSoftMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL_PINNED_SOFT

Source§

type Clock = C

Source§

type Expires = Delta

Source§

impl<C: ClockSource> HrTimerMode for RelativeSoftMode<C>

Source§

const C_MODE: hrtimer_mode = bindings::hrtimer_mode_HRTIMER_MODE_REL_SOFT

Source§

type Clock = C

Source§

type Expires = Delta