#[repr(u8)]pub enum WasmRole {
Microkernel = 0,
Interpreter = 1,
Combined = 2,
Extension = 3,
ControlPlane = 4,
}Expand description
Role of the embedded WASM module within the bootstrap chain.
Variants§
Microkernel = 0
RVF microkernel: the query/ingest engine compiled to WASM. This is the 5.5 KB Cognitum tile runtime with 14+ exports.
Interpreter = 1
Minimal WASM interpreter: enables self-bootstrapping on hosts that lack a native WASM runtime. The interpreter runs the microkernel, which then processes RVF data.
Combined = 2
Combined interpreter + microkernel in a single module. The interpreter is linked with the microkernel for zero-copy bootstrap on bare environments.
Extension = 3
Domain-specific extension module (e.g., custom distance functions, codon decoder for RVDNA, token scorer for RVText).
ControlPlane = 4
Control plane module: store management, export, segment parsing, and file-level operations.
Trait Implementations§
impl Copy for WasmRole
impl Eq for WasmRole
impl StructuralPartialEq for WasmRole
Auto Trait Implementations§
impl Freeze for WasmRole
impl RefUnwindSafe for WasmRole
impl Send for WasmRole
impl Sync for WasmRole
impl Unpin for WasmRole
impl UnsafeUnpin for WasmRole
impl UnwindSafe for WasmRole
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more