pub struct LoadEventsResult {
pub events: Vec<Event>,
pub quarantined: Vec<QuarantinedRow>,
}Expand description
Result of a replay load: valid events and the full quarantine manifest.
Fields§
§events: Vec<Event>§quarantined: Vec<QuarantinedRow>Rows that were skipped due to structural or semantic validation failure.
The physical rows remain in brain_event_log; this vec makes them queryable.
Implementations§
Source§impl LoadEventsResult
impl LoadEventsResult
Sourcepub fn quarantine_count(&self) -> usize
pub fn quarantine_count(&self) -> usize
Convenience accessor: number of quarantined rows.
Auto Trait Implementations§
impl Freeze for LoadEventsResult
impl RefUnwindSafe for LoadEventsResult
impl Send for LoadEventsResult
impl Sync for LoadEventsResult
impl Unpin for LoadEventsResult
impl UnsafeUnpin for LoadEventsResult
impl UnwindSafe for LoadEventsResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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