[][src]Trait dipstick::CachedOutput

pub trait CachedOutput: Output + Send + Sync + 'static + Sized {
    fn cached(self, max_size: usize) -> OutputCache { ... }
}

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) -> OutputCache

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

Loading content...

Implementors

impl CachedOutput for Graphite
[src]

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

impl CachedOutput for Prometheus
[src]

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

impl CachedOutput for Statsd
[src]

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

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

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

Loading content...