pub enum ReplayEvent<'a> {
WouldPut {
key: &'a str,
bytes: usize,
encoding: Option<&'a str>,
},
WouldRetire {
key: &'a str,
},
Malformed {
reason: String,
},
Refused {
key: String,
reason: String,
},
CaptureDropped(u64),
}Expand description
Replay events, surfaced as they happen so a frontend can render them — the report at the end carries the counts.
Variants§
WouldPut
Dry run: this row would publish.
WouldRetire
Dry run: this row would tombstone.
Malformed
A row that could not be parsed — counted, never skipped.
Refused
A delete row the retire gate refused (RFC 04 §1.2 v1.12).
CaptureDropped(u64)
The capture itself missed this many samples here (O6): the replay is a partial view of a partial view, and both halves are counted.
Trait Implementations§
Source§impl<'a> Clone for ReplayEvent<'a>
impl<'a> Clone for ReplayEvent<'a>
Source§fn clone(&self) -> ReplayEvent<'a>
fn clone(&self) -> ReplayEvent<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ReplayEvent<'a>
impl<'a> RefUnwindSafe for ReplayEvent<'a>
impl<'a> Send for ReplayEvent<'a>
impl<'a> Sync for ReplayEvent<'a>
impl<'a> Unpin for ReplayEvent<'a>
impl<'a> UnsafeUnpin for ReplayEvent<'a>
impl<'a> UnwindSafe for ReplayEvent<'a>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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