pub struct TelemetryPublisher { /* private fields */ }Expand description
Live telemetry handle (Self::publish is a no-op when telemetry is disabled).
Implementations§
Source§impl TelemetryPublisher
impl TelemetryPublisher
pub async fn publish(&self, event: TelemetryEvent)
Trait Implementations§
Source§impl Clone for TelemetryPublisher
impl Clone for TelemetryPublisher
Source§fn clone(&self) -> TelemetryPublisher
fn clone(&self) -> TelemetryPublisher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TelemetryPublisher
impl !UnwindSafe for TelemetryPublisher
impl Freeze for TelemetryPublisher
impl Send for TelemetryPublisher
impl Sync for TelemetryPublisher
impl Unpin for TelemetryPublisher
impl UnsafeUnpin for TelemetryPublisher
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