pub trait Personality:
Send
+ Sync
+ 'static {
type Local: LocalKernel + Default + Send + 'static;
const NAME: &'static str;
}Expand description
A kernel personality, from the host’s point of view.
The Hyperlight backend needs nothing beyond the guest blob itself (the wire protocol is already hash + opaque bytes), so the trait only carries what the in-process backend requires plus a label for diagnostics.
Required Associated Constants§
Sourceconst NAME: &'static str
const NAME: &'static str
Short personality name labeling substrate diagnostics — every
Nub::create_hyperlight
construction error leads with create_hyperlight[NAME].
Required Associated Types§
Sourcetype Local: LocalKernel + Default + Send + 'static
type Local: LocalKernel + Default + Send + 'static
The in-process (Local backend) kernel implementation.
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.