pub struct SuspendedResponse { /* private fields */ }Expand description
Contains suspended results. Can be turned into a byte stream with a prepended document.
Implementations§
Source§impl SuspendedResponse
impl SuspendedResponse
Sourcepub fn into_stream(self, body: impl Into<Html>) -> HtmlStream
pub fn into_stream(self, body: impl Into<Html>) -> HtmlStream
Turns the SuspendedResponse into a stream for sending as a response.
Auto Trait Implementations§
impl Freeze for SuspendedResponse
impl RefUnwindSafe for SuspendedResponse
impl Send for SuspendedResponse
impl Sync for SuspendedResponse
impl Unpin for SuspendedResponse
impl UnsafeUnpin for SuspendedResponse
impl UnwindSafe for SuspendedResponse
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