[−][src]Trait conjure_http::client::VisitRequestBody
A visitor over request body formats.
Associated Types
type Output
The output type returned by visit methods.
Required methods
fn visit_empty(self) -> Self::Output
Visits an empty body.
fn visit_serializable<T>(self, body: T) -> Self::Output where
T: Serialize + 'a,
T: Serialize + 'a,
Visits a serializable body.
fn visit_binary<T>(self, body: T) -> Self::Output where
T: WriteBody<W> + 'a,
T: WriteBody<W> + 'a,
Visits a streaming, binary body.