pub trait MsgPackResponse {
// Required method
async fn msgpack<T: DeserializeOwned>(self) -> CResult<T>;
}Expand description
Trait to parse MessagePack responses from reqwest library.
Required Methods§
Sourceasync fn msgpack<T: DeserializeOwned>(self) -> CResult<T>
async fn msgpack<T: DeserializeOwned>(self) -> CResult<T>
Parses MessagePack from body.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.