[][src]Struct metrix::TelemetryTransmitterSync

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

Transmits Observations to the backend and has the Sync marker.

This is almost the same as the TelemetryTransmitter.

Since a Sender for a channel is not Sync this struct wraps the Sender in an Arc<Mutex<_>> so that it can be shared between threads.

Trait Implementations

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

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

Auto Trait Implementations

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

impl<L> Sync for TelemetryTransmitterSync<L> where
    L: Send

impl<L> Unpin for TelemetryTransmitterSync<L>

impl<L> UnwindSafe for TelemetryTransmitterSync<L>

impl<L> RefUnwindSafe for TelemetryTransmitterSync<L>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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