pub struct HttpStreamingResponse {
pub status: StatusCode,
pub headers: HeaderMap,
pub body: BodyStream,
}Expand description
Raw HTTP response with a streaming body from a backend.
Fields§
§status: StatusCodeHTTP status.
headers: HeaderMapResponse headers.
body: BodyStreamResponse body stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpStreamingResponse
impl !RefUnwindSafe for HttpStreamingResponse
impl Send for HttpStreamingResponse
impl Sync for HttpStreamingResponse
impl Unpin for HttpStreamingResponse
impl UnsafeUnpin for HttpStreamingResponse
impl !UnwindSafe for HttpStreamingResponse
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