pub struct H1StreamingResponse<'a> { /* private fields */ }Expand description
Streaming HTTP/1.1 response. Borrows the connection exclusively.
Body chunks are yielded one at a time via next_chunk().
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for H1StreamingResponse<'a>
impl<'a> RefUnwindSafe for H1StreamingResponse<'a>
impl<'a> Send for H1StreamingResponse<'a>
impl<'a> Sync for H1StreamingResponse<'a>
impl<'a> Unpin for H1StreamingResponse<'a>
impl<'a> UnsafeUnpin for H1StreamingResponse<'a>
impl<'a> !UnwindSafe for H1StreamingResponse<'a>
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