pub trait MethodHandlerDispatch {
// Required methods
fn get_descriptor(&self) -> &MethodDescriptor;
fn dispatch(&self, ctx: &Context, request: Request) -> Result<Response>;
}
Expand description
Dispatcher for a RPC method.
Required Methods§
sourcefn get_descriptor(&self) -> &MethodDescriptor
fn get_descriptor(&self) -> &MethodDescriptor
Get method descriptor.