[][src]Trait dipstick::Output

pub trait Output: Send + Sync + 'static + OutputDyn {
    type SCOPE: OutputScope;
    fn new_scope(&self) -> Self::SCOPE;

    fn output(&self) -> Self::SCOPE { ... }
}

A function trait that opens a new metric capture scope.

Associated Types

type SCOPE: OutputScope

The type of Scope returned byt this output.

Loading content...

Required methods

fn new_scope(&self) -> Self::SCOPE

Open a new scope for this output.

Loading content...

Provided methods

fn output(&self) -> Self::SCOPE

Deprecated since 0.7.2:

Use new_scope()

Open a new scope for this output.

Loading content...

Implementors

impl Output for Graphite[src]

type SCOPE = GraphiteScope

impl Output for MultiOutput[src]

type SCOPE = MultiOutputScope

impl Output for Prometheus[src]

type SCOPE = PrometheusScope

impl Output for Statsd[src]

type SCOPE = StatsdScope

impl Output for Void[src]

type SCOPE = VoidOutput

impl<W: Write + Send + Sync + 'static> Output for Stream<W>[src]

type SCOPE = TextScope<W>

Loading content...