pub struct MarkerManifest {
pub run_id: RunId,
pub enabled_classes: Vec<DataClass>,
pub high_fidelity: bool,
pub snapshot_count: u64,
pub hifi_count: u64,
pub gap_count: u64,
pub dict_count: u64,
pub status: RunStatus,
}Expand description
Per-run manifest for a data marker sidecar file.
Mirrors RunManifest for the marker sidecar: it links the
marker file to its run, records the enabled data classes and whether high-fidelity capture is
active, tracks per-table counts, and carries the sealed lifecycle status. It is a distinct
struct, not a RunManifest, because the marker file is sealed independently of the entry run.
Fields§
§run_id: RunIdThe id of the run this marker file belongs to.
enabled_classes: Vec<DataClass>The data classes enabled for marker capture on this run.
high_fidelity: boolWhether high-fidelity per-record markers are recorded for this run.
snapshot_count: u64The number of cursor snapshots recorded.
hifi_count: u64The number of high-fidelity markers recorded.
gap_count: u64The number of marker gaps recorded.
dict_count: u64The number of distinct stream dictionary entries recorded.
status: RunStatusThe lifecycle state of this marker file.
Implementations§
Source§impl MarkerManifest
impl MarkerManifest
Sourcepub const fn is_sealed(&self) -> bool
pub const fn is_sealed(&self) -> bool
Returns true once status is anything other than RunStatus::Running.
Trait Implementations§
Source§impl Clone for MarkerManifest
impl Clone for MarkerManifest
Source§fn clone(&self) -> MarkerManifest
fn clone(&self) -> MarkerManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MarkerManifest
impl Debug for MarkerManifest
Source§impl<'de> Deserialize<'de> for MarkerManifest
impl<'de> Deserialize<'de> for MarkerManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for MarkerManifest
Source§impl PartialEq for MarkerManifest
impl PartialEq for MarkerManifest
Source§fn eq(&self, other: &MarkerManifest) -> bool
fn eq(&self, other: &MarkerManifest) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for MarkerManifest
impl Serialize for MarkerManifest
impl StructuralPartialEq for MarkerManifest
Auto Trait Implementations§
impl Freeze for MarkerManifest
impl RefUnwindSafe for MarkerManifest
impl Send for MarkerManifest
impl Sync for MarkerManifest
impl Unpin for MarkerManifest
impl UnsafeUnpin for MarkerManifest
impl UnwindSafe for MarkerManifest
Blanket Implementations§
impl<T> Allocation for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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