Skip to main content

new_manager

Function new_manager 

Source
pub fn new_manager(
    cfg: ClusterConfig,
    profile_name: String,
) -> Result<Box<dyn Driver>, DriverError>
Expand description

Port of cluster.NewManager.

ยงErrors

Returns DriverError::DriverNotFound if the driver named in cfg.driver is not registered.