pub trait MsearchBundle {
type Output;
const LEN: usize;
// Required methods
fn ndjson(&self) -> Result<String>;
fn decode(&self, responses: Vec<Value>) -> Result<Self::Output>;
}Expand description
A bundle of searches runnable in one Client::msearch request —
implemented for tuples of &Search<T> up to arity 8, each slot with its
own document type. You don’t implement this; you pass tuples.
Required Associated Constants§
Required Associated Types§
Sourcetype Output
type Output
One typed SearchResponse per slot, in order.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".