Trait IdListsAdapter
Source pub trait IdListsAdapter: Send + Sync {
// Required methods
fn start<'life0, 'async_trait>(
self: Arc<Self>,
statsig_runtime: &'life0 Arc<StatsigRuntime>,
listener: Arc<dyn IdListsUpdateListener + Send + Sync>,
) -> Pin<Box<dyn Future<Output = Result<(), StatsigErr>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn shutdown<'life0, 'async_trait>(
&'life0 self,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<(), StatsigErr>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
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 get_type_name(&self) -> String;
}
Formats the value using the given formatter.
Read more