Skip to main content

ErasedExternalInternalReactantFactory

Trait ErasedExternalInternalReactantFactory 

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

Required Methods§

Source

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

Implementors§