pub struct AsyncStreamStats {
pub bytes_read: usize,
pub events_generated: usize,
pub documents_parsed: usize,
}Expand description
Statistics for async streaming parser
Fields§
§bytes_read: usize§events_generated: usize§documents_parsed: usizeTrait Implementations§
Source§impl Clone for AsyncStreamStats
impl Clone for AsyncStreamStats
Source§fn clone(&self) -> AsyncStreamStats
fn clone(&self) -> AsyncStreamStats
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 AsyncStreamStats
impl Debug for AsyncStreamStats
Source§impl Default for AsyncStreamStats
impl Default for AsyncStreamStats
Source§fn default() -> AsyncStreamStats
fn default() -> AsyncStreamStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncStreamStats
impl RefUnwindSafe for AsyncStreamStats
impl Send for AsyncStreamStats
impl Sync for AsyncStreamStats
impl Unpin for AsyncStreamStats
impl UnwindSafe for AsyncStreamStats
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