[−][src]Struct dipstick::MultiOutputScope
Dispatch metric values to a list of scopes.
Methods
impl MultiOutputScope
[src]
pub fn new() -> Self
[src]
Create a new multi scope dispatcher with no scopes.
pub fn add_target<IN: OutputScope + 'static>(&self, scope: IN) -> Self
[src]
Returns a clone of the dispatch with the new output added to the list.
Trait Implementations
impl OutputScope for MultiOutputScope
[src]
fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric
[src]
impl Flush for MultiOutputScope
[src]
impl Default for MultiOutputScope
[src]
fn default() -> MultiOutputScope
[src]
impl Clone for MultiOutputScope
[src]
fn clone(&self) -> MultiOutputScope
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for MultiOutputScope
impl Unpin for MultiOutputScope
impl !Sync for MultiOutputScope
impl !UnwindSafe for MultiOutputScope
impl !RefUnwindSafe for MultiOutputScope
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,