pub struct StreamSearch {
pub status: u16,
pub body: ByteBody,
}Expand description
The outcome of a streaming search: the upstream status and the response body
as a live ByteBody, the hits transformed incrementally, all siblings
(including aggregations) passed through verbatim, none of it buffered.
Fields§
§status: u16The upstream HTTP status.
body: ByteBodyThe transformed response body, streamed back.
Implementations§
Source§impl StreamSearch
impl StreamSearch
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamSearch
impl !Sync for StreamSearch
impl !UnwindSafe for StreamSearch
impl Freeze for StreamSearch
impl Send for StreamSearch
impl Unpin for StreamSearch
impl UnsafeUnpin for StreamSearch
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