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