pub enum PublisherMessage {
Metric(Measurement),
Quit,
}
Expand description
Message between collector task and publisher task
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PublisherMessage
impl Send for PublisherMessage
impl Sync for PublisherMessage
impl Unpin for PublisherMessage
impl UnwindSafe for PublisherMessage
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.