[][src]Trait dipstick::ScheduleFlush

pub trait ScheduleFlush {
    fn flush_every(&self, period: Duration) -> CancelHandle;
}

Enable background periodical publication of metrics

Required methods

fn flush_every(&self, period: Duration) -> CancelHandle

Start a thread dedicated to flushing this scope at regular intervals.

Loading content...

Implementors

impl<T: InputScope + Send + Sync + Clone + 'static> ScheduleFlush for T
[src]

fn flush_every(&self, period: Duration) -> CancelHandle
[src]

Start a thread dedicated to flushing this scope at regular intervals.

Loading content...