Trait kernel::time::hrtimer::RawHrTimerCallback
source · pub trait RawHrTimerCallback {
type CallbackTarget<'a>;
// Required method
unsafe extern "C" fn run(this: *mut hrtimer) -> hrtimer_restart;
}Expand description
Implemented by HrTimerPointer implementers to give the C timer callback a
function to call.
Required Associated Types§
sourcetype CallbackTarget<'a>
type CallbackTarget<'a>
Type of the parameter passed to HrTimerCallback::run. It may be
Self, or a pointer type derived from Self.
Required Methods§
Object Safety§
This trait is not object safe.