Struct metrics_util::layers::Fanout
source · pub struct Fanout { /* private fields */ }
Expand description
Fans out metrics to multiple recorders.
Trait Implementations§
source§impl Recorder for Fanout
impl Recorder for Fanout
source§fn describe_counter(
&self,
key_name: KeyName,
unit: Option<Unit>,
description: SharedString
)
fn describe_counter( &self, key_name: KeyName, unit: Option<Unit>, description: SharedString )
Describes a counter. Read more
source§fn describe_gauge(
&self,
key_name: KeyName,
unit: Option<Unit>,
description: SharedString
)
fn describe_gauge( &self, key_name: KeyName, unit: Option<Unit>, description: SharedString )
Describes a gauge. Read more
source§fn describe_histogram(
&self,
key_name: KeyName,
unit: Option<Unit>,
description: SharedString
)
fn describe_histogram( &self, key_name: KeyName, unit: Option<Unit>, description: SharedString )
Describes a histogram. Read more
Auto Trait Implementations§
impl Freeze for Fanout
impl !RefUnwindSafe for Fanout
impl !Send for Fanout
impl !Sync for Fanout
impl Unpin for Fanout
impl !UnwindSafe for Fanout
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more