Skip to main content

create

pub async fn create<A, C, T>(
    config_path_str: &str,
    network_topology_path_str: &str,
    container_state: Arc<AtomicUsize>,
    container_state_notify: Arc<Notify>,
    main_rx: Receiver<T>,
) -> HyperionContainer<T>
where A: Initialisable<ConfigType = C> + Run<Message = T> + Send + 'static + Sync + Debug, C: Debug + Send + 'static + DeserializeOwned + Sync + LogLevel + ContainerIdentidy, T: HyperionContainerDirectiveMessage + Debug + Send + 'static + DeserializeOwned + Sync + Clone + Serialize,