[][src]Struct metrics_util::layers::Filter

pub struct Filter<R> { /* fields omitted */ }

Filters and discards metrics matching certain name patterns.

Uses an Aho-Corasick automaton to efficiently match a metric key against multiple patterns at once. Patterns are matched across the entire key i.e. they are matched as substrings.

Trait Implementations

impl<R: Recorder> Recorder for Filter<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Filter<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for Filter<R> where
    R: Send
[src]

impl<R> Sync for Filter<R> where
    R: Sync
[src]

impl<R> Unpin for Filter<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for Filter<R> where
    R: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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.