pub enum HttpBodyFormat {
Empty,
Json,
Multipart,
Binary,
Text,
JsonStream(StreamFraming),
}Variants§
Empty
Json
Multipart
Binary
Text
JsonStream(StreamFraming)
A sequence of JSON payloads carried using HTTP stream framing.
Trait Implementations§
Source§impl Clone for HttpBodyFormat
impl Clone for HttpBodyFormat
impl Copy for HttpBodyFormat
Source§impl Debug for HttpBodyFormat
impl Debug for HttpBodyFormat
impl Eq for HttpBodyFormat
Source§impl PartialEq for HttpBodyFormat
impl PartialEq for HttpBodyFormat
impl StructuralPartialEq for HttpBodyFormat
Auto Trait Implementations§
impl Freeze for HttpBodyFormat
impl RefUnwindSafe for HttpBodyFormat
impl Send for HttpBodyFormat
impl Sync for HttpBodyFormat
impl Unpin for HttpBodyFormat
impl UnsafeUnpin for HttpBodyFormat
impl UnwindSafe for HttpBodyFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more