Struct metrix::TelemetryTransmitter[][src]

pub struct TelemetryTransmitter<L> { /* fields omitted */ }

Transmits Observations to the backend

This struct does not implement the Sync trait and can therefore not be shared between threads. See synced() method.

Methods

impl<L> TelemetryTransmitter<L> where
    L: Send + 'static, 
[src]

Get a TelemetryTransmitterSync.

Trait Implementations

impl<L: Clone> Clone for TelemetryTransmitter<L>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L> TransmitsTelemetryData<L> for TelemetryTransmitter<L>
[src]

Transit an observation to the backend.

Add a handler.

Add a Copckpit

Add a Panel to a Cockpit if that Cockpit has the given name. Read more

Observed count occurences at time timestamp Read more

Observed one occurence at time timestamp Read more

Observed one occurence with value value at time timestamp Read more

Sends a Duration as an observed value observed at timestamp. The Duration is converted to nanoseconds. Read more

Observed count occurences at now. Read more

Observed one occurence now Read more

Observed one occurence with value value now Read more

Sends a Duration as an observed value observed with the current timestamp. Read more

Measures the time from from until now. Read more

Auto Trait Implementations

impl<L> Send for TelemetryTransmitter<L> where
    L: Send

impl<L> !Sync for TelemetryTransmitter<L>