pub(crate) struct SkipCounters {
consecutive: u64,
total: u64,
}Expand description
Consecutive skips of unparsable lines. At
UNPARSABLE_ESCALATE_AFTER in a row the stream is not speaking
stream-json, and the near-100%-malformed session would otherwise
present to the user as a silent hang.
Fields§
§consecutive: u64§total: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkipCounters
impl RefUnwindSafe for SkipCounters
impl Send for SkipCounters
impl Sync for SkipCounters
impl Unpin for SkipCounters
impl UnsafeUnpin for SkipCounters
impl UnwindSafe for SkipCounters
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