pub enum ProducerEvent {
Node(NodeHealthEntity),
Cluster(ClusterHealthEntity),
Application(ApplicationHealthEntity),
Partition(PartitionHealthEntity),
Service(ServiceHealthEntity),
Replica(ReplicaHealthEntity),
IterationComplete(LoopKind),
}Expand description
Events produced by HealthDataProducer.
Most variants carry a health entity; IterationComplete is a control
marker signalling that a producer loop finished an iteration.
Variants§
Node(NodeHealthEntity)
Cluster(ClusterHealthEntity)
Application(ApplicationHealthEntity)
Partition(PartitionHealthEntity)
Service(ServiceHealthEntity)
Replica(ReplicaHealthEntity)
IterationComplete(LoopKind)
Marker emitted at the end of a producer loop iteration. Allows a consumer to detect that a loop has produced a full set of data for the current iteration.
Trait Implementations§
Source§impl Clone for ProducerEvent
impl Clone for ProducerEvent
Source§fn clone(&self) -> ProducerEvent
fn clone(&self) -> ProducerEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProducerEvent
impl RefUnwindSafe for ProducerEvent
impl Send for ProducerEvent
impl Sync for ProducerEvent
impl Unpin for ProducerEvent
impl UnsafeUnpin for ProducerEvent
impl UnwindSafe for ProducerEvent
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