pub enum Ingested {
Row(TimelineRow),
Break(Break),
Preamble {
key: String,
},
Trigger {
rule: String,
to: CondState,
},
}Expand description
What one .zrec line turns into.
Variants§
Row(TimelineRow)
Break(Break)
Preamble
A version-2 preamble row (RFC 13 §4.1): state at capture start, not an arrival — it has no place on either axis, and a reader counts it apart from observed rows (O6). The key, so a consumer can say which.
Trigger
A version-2 trigger record: what fired, and to what. A marker the consumer may place where it fell; never a row.
Implementations§
Source§impl Ingested
impl Ingested
Sourcepub fn from_zrec(item: &ZrecItem, base: &str) -> Ingested
pub fn from_zrec(item: &ZrecItem, base: &str) -> Ingested
A .zrec line as the live path would have seen it (RFC 09 §5.2):
t verbatim as the arrival offset, timestamp parsed back through
uhlc::Timestamp: FromStr, and the stamper judged against the
row’s source exactly as StampProvenance judges a live sample
— Unattributable unless the row carried one, so live and replay
classify identically.
A row without t (a hand-piped ndjson row rather than a capture)
sits at 0: it has no pacing, and inventing one would be an ordering
claim. A timestamp that does not parse reads as unstamped — the
row is kept (O1), and the arrival axis still holds it.
Trait Implementations§
impl Eq for Ingested
impl StructuralPartialEq for Ingested
Auto Trait Implementations§
impl Freeze for Ingested
impl RefUnwindSafe for Ingested
impl Send for Ingested
impl Sync for Ingested
impl Unpin for Ingested
impl UnsafeUnpin for Ingested
impl UnwindSafe for Ingested
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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