pub trait RpcService:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
request: RpcRequest,
) -> RpcFuture<'_, Result<RpcReply, RpcError>>;
}Expand description
Object-safe server adapter target. Authentication/ACL decisions happen in the framework adapter before it calls this service, never in this trait.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".