pub struct BatchDecodeResult {
pub events: Vec<DecodedEvent>,
pub errors: Vec<(usize, DecodeError)>,
}Expand description
The output of a batch decode: successful events plus any collected errors.
Fields§
§events: Vec<DecodedEvent>§errors: Vec<(usize, DecodeError)>Populated only when ErrorMode::Collect is used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchDecodeResult
impl !RefUnwindSafe for BatchDecodeResult
impl Send for BatchDecodeResult
impl Sync for BatchDecodeResult
impl Unpin for BatchDecodeResult
impl UnsafeUnpin for BatchDecodeResult
impl !UnwindSafe for BatchDecodeResult
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