pub struct StreamingSummary {
pub status: ParseStatus,
pub entries: usize,
pub strings: usize,
pub preambles: usize,
pub comments: usize,
pub failed_blocks: usize,
pub warnings: usize,
pub errors: usize,
pub infos: usize,
pub recovered_blocks: usize,
pub stopped: bool,
}Expand description
Summary returned after streaming parsing.
Fields§
§status: ParseStatusFile-level status for processed events.
entries: usizeNumber of emitted entries.
strings: usizeNumber of emitted string definitions.
preambles: usizeNumber of emitted preambles.
comments: usizeNumber of emitted comments.
failed_blocks: usizeNumber of emitted failed blocks.
warnings: usizeNumber of warning diagnostics.
errors: usizeNumber of error diagnostics.
infos: usizeNumber of informational diagnostics.
recovered_blocks: usizeNumber of recovered partial entries.
stopped: booltrue when the callback requested early stop.
Trait Implementations§
Source§impl Clone for StreamingSummary
impl Clone for StreamingSummary
Source§fn clone(&self) -> StreamingSummary
fn clone(&self) -> StreamingSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamingSummary
impl Debug for StreamingSummary
Source§impl Default for StreamingSummary
impl Default for StreamingSummary
Source§impl PartialEq for StreamingSummary
impl PartialEq for StreamingSummary
Source§fn eq(&self, other: &StreamingSummary) -> bool
fn eq(&self, other: &StreamingSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StreamingSummary
impl Eq for StreamingSummary
impl StructuralPartialEq for StreamingSummary
Auto Trait Implementations§
impl Freeze for StreamingSummary
impl RefUnwindSafe for StreamingSummary
impl Send for StreamingSummary
impl Sync for StreamingSummary
impl Unpin for StreamingSummary
impl UnsafeUnpin for StreamingSummary
impl UnwindSafe for StreamingSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more