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