Enum worker::ResponseBody
source · [−]pub enum ResponseBody {
Empty,
Body(Vec<u8>),
Stream(EdgeResponse),
}Variants
Empty
Body(Vec<u8>)
Stream(EdgeResponse)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResponseBody
impl !Send for ResponseBody
impl !Sync for ResponseBody
impl Unpin for ResponseBody
impl UnwindSafe for ResponseBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more