PopulateNested

Trait PopulateNested 

Source
pub trait PopulateNested<ID>: EsRepo {
    // Required method
    fn populate_in_op<OP, P>(
        op: &mut OP,
        lookup: HashMap<ID, &mut P>,
    ) -> impl Future<Output = Result<(), <Self as EsRepo>::Err>> + Send
       where OP: AtomicOperation,
             P: Parent<<Self as EsRepo>::Entity>;
}

Required Methods§

Source

fn populate_in_op<OP, P>( op: &mut OP, lookup: HashMap<ID, &mut P>, ) -> impl Future<Output = Result<(), <Self as EsRepo>::Err>> + Send
where OP: AtomicOperation, P: Parent<<Self as EsRepo>::Entity>,

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.

Implementors§