pub trait KernelMetadata:
Send
+ Sync
+ 'static {
// Required methods
fn id(&self) -> KernelId;
fn address_type(&self) -> StorageType;
// Provided method
fn name(&self) -> &'static str { ... }
}Expand description
Implement this trait to create a kernel definition.
Required Methods§
Sourcefn address_type(&self) -> StorageType
fn address_type(&self) -> StorageType
Type of addresses in this kernel