pub struct PipelineStats {
pub events_processed: u64,
pub trades_processed: u64,
pub orderbooks_processed: u64,
pub errors_count: u64,
pub bytes_written: u64,
pub avg_latency_nanos: u64,
pub last_processed_time: Option<u64>,
pub files_rotated: u64,
pub rotation_errors: u64,
}Expand description
Statistics for pipeline processing
Fields§
§events_processed: u64Total number of events processed
trades_processed: u64Number of trades processed
orderbooks_processed: u64Number of order books processed
errors_count: u64Number of errors encountered
bytes_written: u64Total bytes written to storage
avg_latency_nanos: u64Average latency in nanoseconds
last_processed_time: Option<u64>Timestamp of last processed event in nanoseconds
files_rotated: u64Number of files rotated
rotation_errors: u64Number of rotation errors
Trait Implementations§
Source§impl Clone for PipelineStats
impl Clone for PipelineStats
Source§fn clone(&self) -> PipelineStats
fn clone(&self) -> PipelineStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineStats
impl Debug for PipelineStats
Source§impl Default for PipelineStats
impl Default for PipelineStats
Source§fn default() -> PipelineStats
fn default() -> PipelineStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PipelineStats
impl RefUnwindSafe for PipelineStats
impl Send for PipelineStats
impl Sync for PipelineStats
impl Unpin for PipelineStats
impl UnwindSafe for PipelineStats
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