pub struct StreamingSearch {
pub status: u16,
pub body: ByteBody,
pub pool_reuse: bool,
}Expand description
The outcome of a streaming search (ADR-014, final stage): the upstream
status and its response body as a live ByteBody, piped
back through the engine’s hit transform without ever being collected. Like
StreamingForward, the body is one-shot, so this carries no derives.
Fields§
§status: u16The upstream HTTP status.
body: ByteBodyThe upstream response body, streamed back to be transformed on the fly.
pool_reuse: boolWhether this search rode a reused pooled connection (NFR-P telemetry).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamingSearch
impl !Sync for StreamingSearch
impl !UnwindSafe for StreamingSearch
impl Freeze for StreamingSearch
impl Send for StreamingSearch
impl Unpin for StreamingSearch
impl UnsafeUnpin for StreamingSearch
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