Enum hyper::client::Body
[-]
[+]
[src]
pub enum Body<'a> { ChunkedBody(&'a mut Reader + 'a), SizedBody(&'a mut Reader + 'a, u64), BufBody(&'a [u8], usize), }
The target enum for the IntoBody trait.
Variants
ChunkedBody | A Reader does not necessarily know it's size, so it is chunked. |
SizedBody | For Readers that can know their size, like a |
BufBody | A String has a size, and uses Content-Length. |