Struct sc_executor_wasmtime::WasmtimeRuntime
source · pub struct WasmtimeRuntime { /* private fields */ }
Expand description
A WasmModule
implementation using wasmtime to compile the runtime module to machine code
and execute the compiled code.
Trait Implementations§
source§impl WasmModule for WasmtimeRuntime
impl WasmModule for WasmtimeRuntime
source§fn new_instance(&self) -> Result<Box<dyn WasmInstance>>
fn new_instance(&self) -> Result<Box<dyn WasmInstance>>
Create a new instance.
Auto Trait Implementations§
impl Freeze for WasmtimeRuntime
impl !RefUnwindSafe for WasmtimeRuntime
impl Send for WasmtimeRuntime
impl Sync for WasmtimeRuntime
impl Unpin for WasmtimeRuntime
impl !UnwindSafe for WasmtimeRuntime
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.