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§
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.