Trait ttrpc::MethodHandler
source · pub trait MethodHandler {
// Required method
fn handler(&self, ctx: TtrpcContext, req: Request) -> Result<()>;
}
Available on crate feature
sync
only.Expand description
Trait that implements handler which is a proxy to the desired method (sync).