pub struct HelixMetricsClient {}
Implementations§
Source§impl HelixMetricsClient
impl HelixMetricsClient
pub fn new() -> Self
pub fn get_client(&self) -> &'static LazyLock<Client>
pub fn send_event( &self, event_type: EventType, event_data: EventData, ) -> Result<(), MetricError>
Auto Trait Implementations§
impl Freeze for HelixMetricsClient
impl RefUnwindSafe for HelixMetricsClient
impl Send for HelixMetricsClient
impl Sync for HelixMetricsClient
impl Unpin for HelixMetricsClient
impl UnwindSafe for HelixMetricsClient
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