pub enum BootstrapKind {
Module {
target: String,
},
Component {
slot: String,
},
}Expand description
Discriminator for the two bootstrap dispatch kinds the engine drives. Module bootstraps splice into the FunctionCall path under a fresh ExecId; Component bootstraps invoke a Contract method on the bound runtime impl directly.
Variants§
Module
Module bootstrap — target names the FunctionProto whose
body the engine seeds onto the frontier.
Component
Component bootstrap — slot names the binding slot whose
bound Component the engine invokes.
Trait Implementations§
Source§impl Clone for BootstrapKind
impl Clone for BootstrapKind
Source§fn clone(&self) -> BootstrapKind
fn clone(&self) -> BootstrapKind
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 Freeze for BootstrapKind
impl RefUnwindSafe for BootstrapKind
impl Send for BootstrapKind
impl Sync for BootstrapKind
impl Unpin for BootstrapKind
impl UnsafeUnpin for BootstrapKind
impl UnwindSafe for BootstrapKind
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