Skip to main content

configure_instances

Function configure_instances 

Source
pub fn configure_instances(
    settings: InstanceSettings,
) -> Result<(), InstanceSettingsError>
Expand description

Sets the settings every instance of this process is made with.

Call once before making any device. Otherwise the first instance uses InstanceSettings::from_environment.

ยงErrors

InstanceSettingsError::AlreadyFrozen once an instance was made or settings were set.