pub struct MetricsPlugin<B: MetricsBackend> { /* private fields */ }Available on crate features
plugins and signals only.Expand description
Metrics plugin that subscribes to Tako’s signal bus and forwards events to a configurable metrics backend.
Implementations§
Source§impl<B: MetricsBackend> MetricsPlugin<B>
impl<B: MetricsBackend> MetricsPlugin<B>
Trait Implementations§
Source§impl<B: MetricsBackend> Clone for MetricsPlugin<B>
impl<B: MetricsBackend> Clone for MetricsPlugin<B>
Source§impl<B: MetricsBackend> TakoPlugin for MetricsPlugin<B>
impl<B: MetricsBackend> TakoPlugin for MetricsPlugin<B>
Auto Trait Implementations§
impl<B> Freeze for MetricsPlugin<B>
impl<B> RefUnwindSafe for MetricsPlugin<B>where
B: RefUnwindSafe,
impl<B> Send for MetricsPlugin<B>
impl<B> Sync for MetricsPlugin<B>
impl<B> Unpin for MetricsPlugin<B>
impl<B> UnwindSafe for MetricsPlugin<B>where
B: RefUnwindSafe,
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