Skip to main content

DagImportCloneData

Trait DagImportCloneData 

Source
pub trait DagImportCloneData {
    // Required method
    fn import_clone_data<'life0, 'async_trait>(
        &'life0 mut self,
        clone_data: CloneData<Vertex>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Import a generated CloneData object into an empty DAG.

Required Methods§

Source

fn import_clone_data<'life0, 'async_trait>( &'life0 mut self, clone_data: CloneData<Vertex>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the DAG using a CloneData object.

This predates import_pull_data. New logic should use the general purpose import_pull_data instead. Clone is just a special case of pull.

Implementors§

Source§

impl<IS, M, P, S> DagImportCloneData for AbstractDag<IdDag<IS>, M, P, S>
where IS: IdDagStore + Persist + 'static, IdDag<IS>: TryClone, M: TryClone + IdMapAssignHead + Persist + Send + Sync + 'static, P: TryClone + Send + Sync + 'static, S: TryClone + Persist + Send + Sync + 'static,