pub trait SystemBasedKernelApi: KernelApi<CallbackObject = System<Self::SystemCallback>> {
type SystemCallback: SystemCallbackObject;
// Provided method
fn system_service(&mut self) -> SystemService<'_, Self> { ... }
}
Expand description
Effectively a trait alias for KernelApi<CallbackObject = System<Self::SystemCallback, Self::Executable>>
Required Associated Types§
Provided Methods§
fn system_service(&mut self) -> SystemService<'_, Self>
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.