pub struct BatchResult {
pub events: Vec<DecodedEvent>,
pub errors: Vec<(usize, DecodeError)>,
pub total_input: usize,
}Expand description
Result of a batch decode job.
Fields§
§events: Vec<DecodedEvent>Successfully decoded events
errors: Vec<(usize, DecodeError)>(original_index, error) pairs — only populated in Collect mode
total_input: usizeTotal raw events processed
Auto Trait Implementations§
impl Freeze for BatchResult
impl !RefUnwindSafe for BatchResult
impl Send for BatchResult
impl Sync for BatchResult
impl Unpin for BatchResult
impl UnsafeUnpin for BatchResult
impl !UnwindSafe for BatchResult
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