Trait HrTimerExpires

Source
pub trait HrTimerExpires {
    // Required method
    fn into_nanos(self) -> i64;
}
Expand description

Time representations that can be used as expiration values in HrTimer.

Required Methods§

Source

fn into_nanos(self) -> i64

Converts the expiration time into a nanosecond representation.

This value corresponds to a raw ktime_t value, suitable for passing to kernel timer functions. The interpretation (absolute vs relative) depends on the associated HrTimerMode in use.

Implementors§