Enum conjure_http::client::AsyncBody
source · pub enum AsyncBody<'a, W> {
Empty,
Fixed(Bytes),
Streaming(Pin<&'a mut (dyn AsyncWriteBody<W> + Send)>),
}Expand description
The body of an async Conjure request.
Variants§
Empty
No body.
Fixed(Bytes)
A body already buffered in memory.
Streaming(Pin<&'a mut (dyn AsyncWriteBody<W> + Send)>)
A streaming body.