Skip to main content

ErasedExternalExternalReactantFactory

Trait ErasedExternalExternalReactantFactory 

Source
pub trait ErasedExternalExternalReactantFactory:
    Send
    + Sync
    + 'static {
    // Required method
    fn create_reactant(
        &self,
        current_ganglion_id: Uuid,
        external_ganglia: Arc<RwLock<HashMap<Uuid, Arc<Mutex<dyn GanglionExternal + Send + Sync + 'static>>>>>,
        reactions: Cache<u64, Arc<Mutex<HashSet<Uuid>>>>,
    ) -> Arc<dyn ReactantRawErased + Send + Sync + 'static>;
}

Required Methods§

Source

fn create_reactant( &self, current_ganglion_id: Uuid, external_ganglia: Arc<RwLock<HashMap<Uuid, Arc<Mutex<dyn GanglionExternal + Send + Sync + 'static>>>>>, reactions: Cache<u64, Arc<Mutex<HashSet<Uuid>>>>, ) -> Arc<dyn ReactantRawErased + Send + Sync + 'static>

Implementors§