pub trait KernelMetadata:
Send
+ Sync
+ 'static {
// Required method
fn id(&self) -> KernelId;
// Provided method
fn name(&self) -> &'static str { ... }
}
Expand description
Implement this trait to create a kernel definition.