[−][src]Trait conjure_http::client::AsyncVisitRequestBody
A visitor over async 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: AsyncWriteBody<W> + Sync + Send + 'a,
T: AsyncWriteBody<W> + Sync + Send + 'a,
Visits a streaming, binary body.