Struct dipstick::GraphiteScope
source · pub struct GraphiteScope { /* private fields */ }
Expand description
Graphite Input
Trait Implementations§
source§impl Buffered for GraphiteScope
impl Buffered for GraphiteScope
source§fn buffered(&self, buffering: Buffering) -> Self
fn buffered(&self, buffering: Buffering) -> Self
Return a clone with the specified buffering set.
source§fn get_buffering(&self) -> Buffering
fn get_buffering(&self) -> Buffering
Return the current buffering strategy.
source§fn is_buffered(&self) -> bool
fn is_buffered(&self) -> bool
Returns false if the current buffering strategy is
Buffering::Unbuffered
.
Returns true otherwise.source§impl Clone for GraphiteScope
impl Clone for GraphiteScope
source§fn clone(&self) -> GraphiteScope
fn clone(&self) -> GraphiteScope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GraphiteScope
impl Debug for GraphiteScope
source§impl Drop for GraphiteScope
impl Drop for GraphiteScope
Any remaining buffered data is flushed on Drop.
source§impl Flush for GraphiteScope
impl Flush for GraphiteScope
source§impl InputScope for GraphiteScope
impl InputScope for GraphiteScope
source§fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric
Define a metric of the specified type.
source§impl WithAttributes for GraphiteScope
impl WithAttributes for GraphiteScope
source§fn get_attributes(&self) -> &Attributes
fn get_attributes(&self) -> &Attributes
Return attributes of component.
source§fn mut_attributes(&mut self) -> &mut Attributes
fn mut_attributes(&mut self) -> &mut Attributes
Return attributes of component for mutation.
source§fn with_attributes<F: Fn(&mut Attributes)>(&self, edit: F) -> Self
fn with_attributes<F: Fn(&mut Attributes)>(&self, edit: F) -> Self
Clone the component and mutate its attributes at once.