pub struct Check { /* private fields */ }
Expand description
A check of the event UUID log.
A discrepancy indicates differing thought of what the data should be.
Often, a crate::MessageKind::HashCheck
is sent if that’s the case.
Implementations§
source§impl Check
impl Check
sourcepub fn count(&self) -> u32
pub fn count(&self) -> u32
Get the count of events to be included, temporally before the Self::cutoff
.
sourcepub fn cutoff_timestamp(&self) -> Duration
pub fn cutoff_timestamp(&self) -> Duration
Get the timestamp before or at which all events are included.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
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