pub trait Application {
// Required methods
fn kernel(&self) -> &Kernel;
fn boot(&mut self) -> Result<(), KernelError>;
fn shutdown(&mut self) -> Result<(), KernelError>;
}Expand description
Host that owns a Kernel.
Required Methods§
Sourcefn boot(&mut self) -> Result<(), KernelError>
fn boot(&mut self) -> Result<(), KernelError>
Sourcefn shutdown(&mut self) -> Result<(), KernelError>
fn shutdown(&mut self) -> Result<(), KernelError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".