Trait SystemBasedKernelInternalApi

Source
pub trait SystemBasedKernelInternalApi: KernelInternalApi<System = System<Self::SystemCallback>> {
    type SystemCallback: SystemCallbackObject;

    // Provided method
    fn system_module_api(&mut self) -> SystemModuleApiImpl<'_, Self> { ... }
}
Expand description

Effectively a trait alias for KernelInternalApi<CallbackObject = System<Self::SystemCallback, Self::Executable>>

Required Associated Types§

Provided Methods§

Source

fn system_module_api(&mut self) -> SystemModuleApiImpl<'_, 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.

Implementors§