pub trait SearchPostProcess<A, T, O = <A as HasId>::Id>where
A: HasId,{
type Error: StandardError;
// Required method
fn post_process<I, B>(
&self,
accessor: &mut A,
query: T,
candidates: I,
output: &mut B,
) -> impl Future<Output = Result<usize, Self::Error>> + Send
where I: Iterator<Item = Neighbor<A::Id>> + Send,
B: SearchOutputBuffer<O> + Send + ?Sized;
}Expand description
Perform post-processing on the results of search, storing the results in an output buffer.
Simple implementations include CopyIds, which simply forwards the search results
directly into the output buffer.
Required Associated Types§
type Error: StandardError
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".