Trait htrpc::Procedure
[−]
[src]
pub trait Procedure { type Request: RpcRequest; type Response: RpcResponse; fn method() -> HttpMethod; fn entry_point() -> EntryPoint; }
Procedure definition.
Associated Types
type Request: RpcRequest
The request type of this procedure.
type Response: RpcResponse
The response type of this procedure.
Required Methods
fn method() -> HttpMethod
The HTTP method which this procedure handles.
fn entry_point() -> EntryPoint
The entry point of this procedure.