Trait anterofit::net::body::EagerBody [−][src]
pub trait EagerBody { type Readable: Read + Send + 'static; fn into_readable<S>(self, ser: &S) -> ReadableResult<Self::Readable>
where
S: Serializer; }
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<S>(self, ser: &S) -> ReadableResult<Self::Readable> where
S: Serializer,
S: Serializer,
Serialize self
with the given adapter into a request body.