pub struct Receiver<T: Clone + Eq + Hash + Display + Send> { /* private fields */ }Expand description
Metrics receiver which aggregates and processes samples.
Implementations§
Source§impl<T: Clone + Eq + Hash + Display + Send> Receiver<T>
impl<T: Clone + Eq + Hash + Display + Send> Receiver<T>
Sourcepub fn builder() -> Configuration<T>
pub fn builder() -> Configuration<T>
Gets a builder to configure a Receiver instance with.
Sourcepub fn get_controller(&self) -> Controller
pub fn get_controller(&self) -> Controller
Creates a Controller bound to this receiver.
Auto Trait Implementations§
impl<T> Freeze for Receiver<T>
impl<T> !RefUnwindSafe for Receiver<T>
impl<T> Send for Receiver<T>
impl<T> Sync for Receiver<T>where
T: Sync,
impl<T> Unpin for Receiver<T>where
T: Unpin,
impl<T> !UnwindSafe for Receiver<T>
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