agde::log

Struct Check

source
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

source

pub fn count(&self) -> u32

Get the count of events to be included, temporally before the Self::cutoff.

source

pub fn cutoff(&self) -> Uuid

Get the UUID of the latest event to be included.

source

pub fn cutoff_timestamp(&self) -> Duration

Get the timestamp before or at which all events are included.