pub struct StreamStats {
pub bytes_read: usize,
pub events_generated: usize,
pub documents_parsed: usize,
pub errors_encountered: usize,
pub max_buffer_size: usize,
pub parse_time_ms: u64,
}Expand description
Statistics for streaming parser
Fields§
§bytes_read: usizeTotal bytes read
events_generated: usizeTotal events generated
documents_parsed: usizeDocuments parsed
errors_encountered: usizeParse errors encountered
max_buffer_size: usizeMaximum buffer size used
parse_time_ms: u64Total parse time (milliseconds)
Trait Implementations§
Source§impl Clone for StreamStats
impl Clone for StreamStats
Source§fn clone(&self) -> StreamStats
fn clone(&self) -> StreamStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamStats
impl Debug for StreamStats
Source§impl Default for StreamStats
impl Default for StreamStats
Source§fn default() -> StreamStats
fn default() -> StreamStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamStats
impl RefUnwindSafe for StreamStats
impl Send for StreamStats
impl Sync for StreamStats
impl Unpin for StreamStats
impl UnwindSafe for StreamStats
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