pub trait RuntimeServiceFactory: Send + Sync {
// Required method
fn create(
&self,
ctx: RpcCallContext,
create_payload: Option<Vec<u8>>,
options: BTreeMap<String, String>,
) -> RuntimeServiceFactoryFuture<'_>;
}Required Methods§
fn create( &self, ctx: RpcCallContext, create_payload: Option<Vec<u8>>, options: BTreeMap<String, String>, ) -> RuntimeServiceFactoryFuture<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".