pub enum ResponseBody {
Json(Value),
EventStream(Box<FrontendAttachment>),
}Expand description
Adapter output. Event streams remain typed until the authenticated HTTP host binds them to one connection.
Variants§
Json(Value)
EventStream(Box<FrontendAttachment>)
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseBody
impl !UnwindSafe for ResponseBody
impl Freeze for ResponseBody
impl Send for ResponseBody
impl Sync 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