pub enum ModalHttpResponse {
Single(Response<Body>),
Event(Value),
}Expand description
A multilink HTTP response.
Variants§
Single(Response<Body>)
Contains a single HTTP response returned by the server.
Event(Value)
Contains a single serializable event returned by the server, as part of a stream.
Auto Trait Implementations§
impl !Freeze for ModalHttpResponse
impl !RefUnwindSafe for ModalHttpResponse
impl !UnwindSafe for ModalHttpResponse
impl Send for ModalHttpResponse
impl Sync for ModalHttpResponse
impl Unpin for ModalHttpResponse
impl UnsafeUnpin for ModalHttpResponse
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