pub struct PreambleInfo {
pub count: u64,
pub collected_over_s: f64,
pub selectors: Vec<String>,
pub semantics: PreambleSemantics,
pub incomplete: u64,
pub failed: Vec<String>,
}Expand description
The state preamble’s account of itself (RFC 13 §4.1, version 2).
Fields§
§count: u64Preamble rows written — counted apart from observed rows (O6).
collected_over_s: f64How long the fan-in GET took: a preamble is collected over a span, never at an instant (RFC 13 §4.4’s obligation, inherited).
selectors: Vec<String>The selectors actually fetched — the state-class projection of the
watched set, so a watch that reaches no state key fetched nothing.
semantics: PreambleSemantics§incomplete: u64Replies the bounded fetch could not keep or could not read: error envelopes plus replies elided past the reply bound (O6).
failed: Vec<String>Watched selectors whose state could not be fetched at all — a GET
that could not be issued, or a selector that reaches no state
key — named rather than folded into a count (O5).
Trait Implementations§
Source§impl Clone for PreambleInfo
impl Clone for PreambleInfo
Source§fn clone(&self) -> PreambleInfo
fn clone(&self) -> PreambleInfo
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 moreSource§impl Debug for PreambleInfo
impl Debug for PreambleInfo
Source§impl<'de> Deserialize<'de> for PreambleInfo
impl<'de> Deserialize<'de> for PreambleInfo
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreambleInfo
impl PartialEq for PreambleInfo
Source§impl Serialize for PreambleInfo
impl Serialize for PreambleInfo
impl StructuralPartialEq for PreambleInfo
Auto Trait Implementations§
impl Freeze for PreambleInfo
impl RefUnwindSafe for PreambleInfo
impl Send for PreambleInfo
impl Sync for PreambleInfo
impl Unpin for PreambleInfo
impl UnsafeUnpin for PreambleInfo
impl UnwindSafe for PreambleInfo
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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