[][src]Trait dipstick::CachedInput

pub trait CachedInput: Input + Send + Sync + 'static + Sized {
    fn cached(self, max_size: usize) -> InputCache { ... }
}

Wrap an output with a metric definition cache. This is useless if all metrics are statically declared but can provide performance benefits if some metrics are dynamically defined at runtime.

Provided methods

fn cached(self, max_size: usize) -> InputCache

Wrap this output with an asynchronous dispatch queue of specified length.

Loading content...

Implementors

impl CachedInput for InputQueue
[src]

fn cached(self, max_size: usize) -> InputCache
[src]

impl CachedInput for Log
[src]

fn cached(self, max_size: usize) -> InputCache
[src]

impl CachedInput for OutputQueue
[src]

fn cached(self, max_size: usize) -> InputCache
[src]

Loading content...