Struct hotmic::Controller[][src]

pub struct Controller<T> { /* fields omitted */ }

Dedicated handle for performing operations on a running Sink.

The caller is able to request metric snapshots at any time without requiring mutable access to the sink. This all flows through the existing control mechanism, and so is very fast.

Methods

impl<T> Controller<T>
[src]

Retrieves a snapshot of the current metric state.

Auto Trait Implementations

impl<T> Send for Controller<T> where
    T: Send

impl<T> Sync for Controller<T> where
    T: Send