RuntimeCommand

Trait RuntimeCommand 

Source
pub trait RuntimeCommand {
    type Output;

    // Required method
    fn execute(
        self,
        runtime: Arc<Runtime>,
    ) -> impl Future<Output = Result<Self::Output, WasmRuntimeError>> + Send;
}

Required Associated Types§

Required Methods§

Source

fn execute( self, runtime: Arc<Runtime>, ) -> impl Future<Output = Result<Self::Output, WasmRuntimeError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§