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

The readable request body.

Required Methods

Serialize self with the given adapter into a request body.

Implementors