pub struct StreamingSubResponse {
pub status: u16,
pub headers: HeaderMap,
pub body: SubResponseBody,
}Expand description
A streaming sub-request response with headers and an opaque body handle.
The body handle owns the live Pingora session, admission permit,
and transport deadlines. It does not borrow SubRequestClient
or any other external state.
Fields§
§status: u16HTTP status code.
headers: HeaderMapResponse headers (sanitized).
body: SubResponseBodyOpaque streaming body handle.
Auto Trait Implementations§
impl !Freeze for StreamingSubResponse
impl !RefUnwindSafe for StreamingSubResponse
impl !UnwindSafe for StreamingSubResponse
impl Send for StreamingSubResponse
impl Sync for StreamingSubResponse
impl Unpin for StreamingSubResponse
impl UnsafeUnpin for StreamingSubResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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