Trait dipstick::Input

source ·
pub trait Input: Send + Sync + 'static + InputDyn {
    type SCOPE: InputScope + Send + Sync + 'static;

    fn metrics(&self) -> Self::SCOPE;

    fn input(&self) -> Self::SCOPE { ... }
    fn new_scope(&self) -> Self::SCOPE { ... }
}
Expand description

A function trait that opens a new metric capture scope.

Required Associated Types§

The type of Scope returned byt this input.

Required Methods§

Open a new scope from this input.

Provided Methods§

👎Deprecated since 0.7.2: Use metrics()

Open a new scope from this input.

👎Deprecated since 0.8.0: Use metrics()

Open a new scope from this input.

Implementors§