Trait htrpc::RpcRequest [] [src]

pub trait RpcRequest: Serialize + for<'a> Deserialize<'a> + Send + 'static {
    fn body(&mut self) -> Vec<u8>;
fn read_body(self, body: BodyReader) -> ReadBody<Self>; }

RPC Request.

Implementations of this trait have to follow conventions as follows.

Required Methods

Returns the body of this HTTP response.

Reads the body of this HTTP response.

Implementors