Trait anterofit::net::body::EagerBody
[−]
[src]
pub trait EagerBody { type Readable: Read + Send + 'static; fn into_readable<A>(self, adapter: &A) -> ReadableResult<Self::Readable> where A: AbsAdapter; }
A trait describing a type which can be serialized into a request body.
Implemented for T: Serialize + Send + 'static
.
Associated Types
Required Methods
fn into_readable<A>(self, adapter: &A) -> ReadableResult<Self::Readable> where A: AbsAdapter
Serialize self
with the given adapter into a request body.