pub enum ResponseBody {
Buffered(Vec<u8>),
Streaming(Box<dyn ResponseStream>),
}Variants§
Implementations§
Source§impl ResponseBody
impl ResponseBody
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseBody
impl !Send for ResponseBody
impl !Sync for ResponseBody
impl !UnwindSafe for ResponseBody
impl Freeze for ResponseBody
impl Unpin for ResponseBody
impl UnsafeUnpin for ResponseBody
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