Struct sc_telemetry::TelemetryWorker[][src]

pub struct TelemetryWorker { /* fields omitted */ }

Telemetry worker.

It should run as a background task using the TelemetryWorker::run method. This method will consume the object and any further attempts of initializing a new telemetry through its handle will fail (without being fatal).

Implementations

impl TelemetryWorker[src]

pub fn handle(&self) -> TelemetryHandle[src]

Get a new TelemetryHandle.

This is used when you want to register with the TelemetryWorker.

pub async fn run(self)[src]

Run the telemetry worker.

This should be run in a background task.

Trait Implementations

impl Debug for TelemetryWorker[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,