pub enum WarmedArtifact {
Wasm(Arc<WasmParsedModule>),
Declarative(DynamicNodeSpec),
Asset(Arc<Vec<u8>>),
}Expand description
Pre-verified, pre-compiled artifact representation prepared exclusively on the background worker thread.
Variants§
Wasm(Arc<WasmParsedModule>)
Parsed and ABI-validated executable WebAssembly module ready for zero-parse mounting.
Declarative(DynamicNodeSpec)
Deserialized and validated declarative UI subtree ready for store-channel mounting.
Asset(Arc<Vec<u8>>)
Immutable verified asset bytes.
Trait Implementations§
Source§impl Clone for WarmedArtifact
impl Clone for WarmedArtifact
Source§fn clone(&self) -> WarmedArtifact
fn clone(&self) -> WarmedArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for WarmedArtifact
impl Freeze for WarmedArtifactwhere
*const ArcInner<WasmParsedModule> is !null: Freeze,
PhantomData<ArcInner<WasmParsedModule>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DynamicNodeSpec>: Freeze,
*const ArcInner<Vec<u8>> is !null: Freeze,
PhantomData<ArcInner<Vec<u8>>>: Freeze,
impl Move for WarmedArtifact
impl RefUnwindSafe for WarmedArtifact
impl Send for WarmedArtifact
impl Sync for WarmedArtifact
impl Unpin for WarmedArtifact
impl UnsafeUnpin for WarmedArtifactwhere
*const ArcInner<WasmParsedModule> is !null: UnsafeUnpin,
PhantomData<ArcInner<WasmParsedModule>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DynamicNodeSpec>: UnsafeUnpin,
*const ArcInner<Vec<u8>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<u8>>>: UnsafeUnpin,
impl UnwindSafe for WarmedArtifact
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