pub enum BodyKind {
Empty,
KnownLength(u64),
Chunked,
}
Expand description
The kinds of request bodies currently supported by this crate.
Variants
Empty
An empty request body
KnownLength(u64)
A request body with a known length
Chunked
A request body that is transferred using chunked encoding
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BodyKind
impl Send for BodyKind
impl Sync for BodyKind
impl Unpin for BodyKind
impl UnwindSafe for BodyKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more