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 !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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.