[][src]Trait dipstick::Buffered

pub trait Buffered: WithAttributes {
    fn buffered(&self, buffering: Buffering) -> Self { ... }
fn get_buffering(&self) -> Buffering { ... }
fn is_buffered(&self) -> bool { ... } }

Determine scope buffering strategy, if supported by output. Changing this only affects scopes opened afterwards. Buffering is done on best effort, meaning flush will occur if buffer capacity is exceeded.

Provided methods

fn buffered(&self, buffering: Buffering) -> Self

Return a clone with the specified buffering set.

fn get_buffering(&self) -> Buffering

Return the current buffering strategy.

fn is_buffered(&self) -> bool

Returns false if the current buffering strategy is Buffering::Unbuffered. Returns true otherwise.

Loading content...

Implementors

impl Buffered for Graphite[src]

impl Buffered for GraphiteScope[src]

impl Buffered for Log[src]

impl Buffered for LogScope[src]

impl Buffered for Prometheus[src]

impl Buffered for PrometheusScope[src]

impl Buffered for Statsd[src]

impl Buffered for StatsdScope[src]

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

impl<W: Write + Send + Sync + 'static> Buffered for TextScope<W>[src]

Loading content...