[−][src]Struct spirit_dipstick::MonitorInstaller
The Installer
of backends into the Monitor
.
This is created by Monitor::installer
and used inside of Pipeline
s. 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]
F: Fn(InputKind, MetricName, ScoreType) -> Option<(InputKind, MetricName, MetricValue)> + Send + Sync + 'static,
type UninstallHandle = Uninstaller
A handle representing lifetime of the resource. Read more
fn install(&mut self, backends: Backends, name: &'static str) -> Uninstaller
[src]
default 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]
&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,
Initialize the installer. Read more
Auto Trait Implementations
impl<F> Send for MonitorInstaller<F> where
F: Send + Sync,
F: Send + Sync,
impl<F> Sync for MonitorInstaller<F> where
F: Send + Sync,
F: Send + Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,