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
impl Eq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnwindSafe for Check
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)