[][src]Struct spirit_dipstick::MonitorInstaller

pub struct MonitorInstaller<F> { /* fields omitted */ }

The Installer of backends into the Monitor.

This is created by Monitor::installer and used inside of Pipelines. The user of this library usually doesn't have to interact with this directly.

Trait Implementations

impl<F, O, C> Installer<Backends, O, C> for MonitorInstaller<F> where
    F: Fn(InputKind, MetricName, ScoreType) -> Option<(InputKind, MetricName, MetricValue)> + Send + Sync + 'static, 
[src]

type UninstallHandle = Uninstaller

A handle representing lifetime of the resource. Read more

fn init<B>(&mut self, builder: B, _name: &'static str) -> Result<B, Error> where
    B: Extensible<Opts = O, Config = C, Ok = B>,
    <B as Extensible>::Config: DeserializeOwned,
    <B as Extensible>::Config: Send,
    <B as Extensible>::Config: Sync,
    <B as Extensible>::Config: 'static,
    <B as Extensible>::Opts: StructOpt,
    <B as Extensible>::Opts: Send,
    <B as Extensible>::Opts: Sync,
    <B as Extensible>::Opts: 'static, 
[src]

Initialize the installer. Read more

Auto Trait Implementations

impl<F> Send for MonitorInstaller<F> where
    F: Send + Sync

impl<F> Sync for MonitorInstaller<F> where
    F: Send + Sync

Blanket Implementations

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

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

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<T> Erased for T

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