pub struct UsageAnalyticsSink { /* private fields */ }Implementations§
Source§impl UsageAnalyticsSink
impl UsageAnalyticsSink
pub fn new(store: Arc<AnalyticsStore>) -> Self
Trait Implementations§
Source§impl EventSink for UsageAnalyticsSink
impl EventSink for UsageAnalyticsSink
fn id(&self) -> EventSinkId
fn handle_event<'life0, 'life1, 'async_trait>(
&'life0 self,
envelope: &'life1 EventEnvelope,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for UsageAnalyticsSink
impl RefUnwindSafe for UsageAnalyticsSink
impl Send for UsageAnalyticsSink
impl Sync for UsageAnalyticsSink
impl Unpin for UsageAnalyticsSink
impl UnsafeUnpin for UsageAnalyticsSink
impl UnwindSafe for UsageAnalyticsSink
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