[][src]Trait dipstick::Input

pub trait Input: Send + Sync + 'static + InputDyn {
    type SCOPE: InputScope + Send + Sync + 'static;
    fn input(&self) -> Self::SCOPE;
}

A function trait that opens a new metric capture scope.

Associated Types

type SCOPE: InputScope + Send + Sync + 'static

The type of Scope returned byt this input.

Loading content...

Required methods

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

Open a new scope from this output.

Loading content...

Implementors

impl Input for InputQueue
[src]

type SCOPE = InputQueueScope

fn input(&self) -> Self::SCOPE
[src]

Wrap new scopes with an asynchronous metric write & flush dispatcher.

impl Input for Log
[src]

type SCOPE = LogScope

impl Input for MultiInput
[src]

type SCOPE = MultiInputScope

impl Input for OutputQueue
[src]

type SCOPE = OutputQueueScope

fn input(&self) -> Self::SCOPE
[src]

Wrap new scopes with an asynchronous metric write & flush dispatcher.

impl<T: Output + Send + Sync + 'static> Input for T
[src]

type SCOPE = LockingOutput

Loading content...