pub struct StatsigCustomizedSpecsAdapter { /* private fields */ }
Implementations§
Source§impl StatsigCustomizedSpecsAdapter
impl StatsigCustomizedSpecsAdapter
pub fn new_from_config( sdk_key: &str, configs: Vec<SpecAdapterConfig>, options: &StatsigOptions, hashing: &HashUtil, ) -> Self
pub fn new_from_data_store( sdk_key: &str, data_store: Arc<dyn DataStoreTrait>, options: &StatsigOptions, hashing: &HashUtil, ) -> Self
Trait Implementations§
Source§impl SpecsAdapter for StatsigCustomizedSpecsAdapter
impl SpecsAdapter for StatsigCustomizedSpecsAdapter
fn start<'life0, 'async_trait>(
self: Arc<Self>,
statsig_runtime: &'life0 Arc<StatsigRuntime>,
) -> Pin<Box<dyn Future<Output = Result<(), StatsigErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize(&self, listener: Arc<dyn SpecsUpdateListener>)
fn schedule_background_sync<'life0, 'async_trait>(
self: Arc<Self>,
statsig_runtime: &'life0 Arc<StatsigRuntime>,
) -> Pin<Box<dyn Future<Output = Result<(), StatsigErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'life1, 'async_trait>(
&'life0 self,
timeout: Duration,
statsig_runtime: &'life1 Arc<StatsigRuntime>,
) -> Pin<Box<dyn Future<Output = Result<(), StatsigErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_type_name(&self) -> String
Auto Trait Implementations§
impl Freeze for StatsigCustomizedSpecsAdapter
impl !RefUnwindSafe for StatsigCustomizedSpecsAdapter
impl Send for StatsigCustomizedSpecsAdapter
impl Sync for StatsigCustomizedSpecsAdapter
impl Unpin for StatsigCustomizedSpecsAdapter
impl !UnwindSafe for StatsigCustomizedSpecsAdapter
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