MsgPackRequest

Trait MsgPackRequest 

Source
pub trait MsgPackRequest {
    // Required method
    fn msgpack<T>(self, msgpack: &T) -> Result<Self, ClientError>
       where T: Serialize + ?Sized,
             Self: Sized;
}
Expand description

MessagePack writer to reqwest::RequestBuilder.

Required Methods§

Source

fn msgpack<T>(self, msgpack: &T) -> Result<Self, ClientError>
where T: Serialize + ?Sized, Self: Sized,

Writes T as MsgPack binary data into RequestBuilder.

Implementations on Foreign Types§

Source§

impl MsgPackRequest for RequestBuilder

Available on crate features reqwest and cresult only.
Source§

fn msgpack<T>(self, msgpack: &T) -> Result<RequestBuilder, ClientError>
where T: Serialize + ?Sized,

Implementors§