pub trait RPCService: Sync + Send { // Required methods fn get_method(&self, name: &str) -> Option<RPCMethod<'_>>; fn name(&self) -> String; }
Defines the interface for an RPC service.