pub struct GlobalConfigs { /* private fields */ }
Implementations§
Source§impl GlobalConfigs
impl GlobalConfigs
pub fn get_instance(sdk_key: &str) -> Arc<GlobalConfigs>
pub fn set_sdk_configs(&self, new_configs: HashMap<String, DynamicValue>)
pub fn set_diagnostics_sampling_rates( &self, new_sampling_rate: HashMap<String, f64>, )
pub fn get_sdk_config_value(&self, key: &str) -> Option<DynamicValue>
pub fn get_diagnostics_sampling_rate(&self) -> HashMap<String, f64>
Auto Trait Implementations§
impl !Freeze for GlobalConfigs
impl RefUnwindSafe for GlobalConfigs
impl Send for GlobalConfigs
impl Sync for GlobalConfigs
impl Unpin for GlobalConfigs
impl UnwindSafe for GlobalConfigs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more