Skip to main content

SystemServiceFactory

Trait SystemServiceFactory 

Source
pub trait SystemServiceFactory: Send + Sync {
    // Required method
    fn create(
        &self,
        ctx: RpcCallContext,
        create_payload: Option<Vec<u8>>,
        options: BTreeMap<String, String>,
    ) -> SystemServiceFactoryFuture<'_>;
}

Required Methods§

Source

fn create( &self, ctx: RpcCallContext, create_payload: Option<Vec<u8>>, options: BTreeMap<String, String>, ) -> SystemServiceFactoryFuture<'_>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§