pub enum WasmLoadState {
Idle,
Downloading {
received_bytes: u64,
total_bytes: u64,
},
Verifying,
Compiling,
Executing,
Mounted {
version: u64,
from_cache: bool,
fuel_used: u64,
},
RolledBack {
active_version: u64,
reason: String,
},
Failed(WasmDynamicError),
}Expand description
Typed lifecycle state for a dynamic WASM download, verification, execution, and mount operation.
Variants§
Idle
No dynamic WASM download has been initiated yet.
Downloading
Download in progress with byte-level streaming telemetry.
Fields
Verifying
Verifying binary size ceiling, FNV-1a checksum, and signature integrity.
Compiling
Parsing WebAssembly binary sections and validating host ABI exports.
Executing
Executing sandboxed WASM bytecode to generate the native UI tree.
Mounted
Successfully mounted as native euv scene nodes.
Fields
RolledBack
Automatically or manually rolled back to a previously verified Last-Known-Good snapshot.
Fields
Failed(WasmDynamicError)
Operation failed cleanly with typed diagnostics; host remains intact.
Trait Implementations§
Source§impl Clone for WasmLoadState
impl Clone for WasmLoadState
Source§impl Debug for WasmLoadState
impl Debug for WasmLoadState
Source§impl Default for WasmLoadState
impl Default for WasmLoadState
impl Eq for WasmLoadState
Source§impl PartialEq for WasmLoadState
impl PartialEq for WasmLoadState
impl StructuralPartialEq for WasmLoadState
Auto Trait Implementations§
impl Forget for WasmLoadState
impl Freeze for WasmLoadState
impl Move for WasmLoadState
impl RefUnwindSafe for WasmLoadState
impl Send for WasmLoadState
impl Sync for WasmLoadState
impl Unpin for WasmLoadState
impl UnsafeUnpin for WasmLoadState
impl UnwindSafe for WasmLoadState
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