pub struct ParserStats {
pub total_parsed: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub zero_copy_operations: u64,
pub buffer_reuses: u64,
pub avg_parse_time_ns: u64,
pub total_parse_time_ns: u64,
}Expand description
Parser performance statistics
Fields§
§total_parsed: u64Total messages parsed
cache_hits: u64Cache hits for message type recognition
cache_misses: u64Cache misses
zero_copy_operations: u64Zero-copy operations (no buffer allocation)
buffer_reuses: u64Buffer reuse count
avg_parse_time_ns: u64Average parse time (nanoseconds)
total_parse_time_ns: u64Total parse time (nanoseconds)
Trait Implementations§
Source§impl Clone for ParserStats
impl Clone for ParserStats
Source§fn clone(&self) -> ParserStats
fn clone(&self) -> ParserStats
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 ParserStats
impl Debug for ParserStats
Source§impl Default for ParserStats
impl Default for ParserStats
Source§fn default() -> ParserStats
fn default() -> ParserStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserStats
impl RefUnwindSafe for ParserStats
impl Send for ParserStats
impl Sync for ParserStats
impl Unpin for ParserStats
impl UnwindSafe for ParserStats
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