pub struct Checkpoint<D>where
D: SupportedDigest,{ /* private fields */ }Expand description
A point in the history of a log, represented by its length
Implementations§
Source§impl<D> Checkpoint<D>where
D: SupportedDigest,
impl<D> Checkpoint<D>where
D: SupportedDigest,
Trait Implementations§
Source§impl<D> Clone for Checkpoint<D>where
D: SupportedDigest + Clone,
impl<D> Clone for Checkpoint<D>where
D: SupportedDigest + Clone,
Source§fn clone(&self) -> Checkpoint<D>
fn clone(&self) -> Checkpoint<D>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<D> Debug for Checkpoint<D>where
D: SupportedDigest + Debug,
impl<D> Debug for Checkpoint<D>where
D: SupportedDigest + Debug,
Source§impl<D> Ord for Checkpoint<D>where
D: SupportedDigest + Ord,
impl<D> Ord for Checkpoint<D>where
D: SupportedDigest + Ord,
Source§fn cmp(&self, other: &Checkpoint<D>) -> Ordering
fn cmp(&self, other: &Checkpoint<D>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<D> PartialEq for Checkpoint<D>where
D: SupportedDigest,
impl<D> PartialEq for Checkpoint<D>where
D: SupportedDigest,
Source§impl<D> PartialOrd for Checkpoint<D>where
D: SupportedDigest + PartialOrd,
impl<D> PartialOrd for Checkpoint<D>where
D: SupportedDigest + PartialOrd,
impl<D> Eq for Checkpoint<D>where
D: SupportedDigest,
Auto Trait Implementations§
impl<D> Freeze for Checkpoint<D>
impl<D> RefUnwindSafe for Checkpoint<D>
impl<D> Send for Checkpoint<D>
impl<D> Sync for Checkpoint<D>
impl<D> Unpin for Checkpoint<D>
impl<D> UnwindSafe for Checkpoint<D>
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.