pub trait PopulateNested<ID>: EsRepo {
// Required method
fn populate_in_op<OP, P, E>(
op: &mut OP,
lookup: HashMap<ID, &mut P>,
) -> impl Future<Output = Result<(), E>> + Send
where OP: AtomicOperation,
P: Parent<<Self as EsRepo>::Entity>,
E: From<Error> + From<EntityHydrationError> + Send;
}Required Methods§
fn populate_in_op<OP, P, E>(
op: &mut OP,
lookup: HashMap<ID, &mut P>,
) -> impl Future<Output = Result<(), E>> + Sendwhere
OP: AtomicOperation,
P: Parent<<Self as EsRepo>::Entity>,
E: From<Error> + From<EntityHydrationError> + Send,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.