pub struct Receiver { /* private fields */ }Expand description
Central store for metrics.
Receiver is the nucleus for all metrics operations. While no operations are performed by it
directly, it holds the registeries and references to resources and so it must live as long as
any Sink or Controller does.
Implementations§
Source§impl Receiver
impl Receiver
Sourcepub fn controller(&self) -> Controller
pub fn controller(&self) -> Controller
Creates a Controller bound to this receiver.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Receiver
impl !RefUnwindSafe for Receiver
impl Send for Receiver
impl Sync for Receiver
impl Unpin for Receiver
impl !UnwindSafe for Receiver
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