pub struct EventLogger { /* private fields */ }
Implementations§
Source§impl EventLogger
impl EventLogger
pub fn new( sdk_key: &str, options: &Arc<StatsigOptions>, event_logging_adapter: &Arc<dyn EventLoggingAdapter>, statsig_rt: &Arc<StatsigRuntime>, ) -> Arc<Self>
pub fn enqueue(self: &Arc<Self>, operation: impl EnqueueOperation)
pub fn increment_non_exposure_checks(&self, name: &str)
pub async fn flush_all_pending_events(&self) -> Result<(), StatsigErr>
pub async fn shutdown(&self) -> Result<(), StatsigErr>
pub fn force_shutdown(&self)
Auto Trait Implementations§
impl !Freeze for EventLogger
impl !RefUnwindSafe for EventLogger
impl Send for EventLogger
impl Sync for EventLogger
impl Unpin for EventLogger
impl !UnwindSafe for EventLogger
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