pub struct ProcessingOutcome {
pub processed: usize,
pub dropped: usize,
pub instruments_updated: usize,
pub observations_enqueued: usize,
}Expand description
The result of processing messages.
Used for making decisions for further processing
within the TelemetryDriver
Fields§
§processed: usize§dropped: usize§instruments_updated: usize§observations_enqueued: usizeImplementations§
Source§impl ProcessingOutcome
impl ProcessingOutcome
Sourcepub fn combine_with(&mut self, other: &ProcessingOutcome)
pub fn combine_with(&mut self, other: &ProcessingOutcome)
Simply add the corresponding elements
pub fn something_happened(&self) -> bool
Trait Implementations§
Source§impl Default for ProcessingOutcome
impl Default for ProcessingOutcome
Source§fn default() -> ProcessingOutcome
fn default() -> ProcessingOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessingOutcome
impl RefUnwindSafe for ProcessingOutcome
impl Send for ProcessingOutcome
impl Sync for ProcessingOutcome
impl Unpin for ProcessingOutcome
impl UnwindSafe for ProcessingOutcome
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