Struct warg_transparency::log::Checkpoint
source · 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 copy 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,
source§fn partial_cmp(&self, other: &Checkpoint<D>) -> Option<Ordering>
fn partial_cmp(&self, other: &Checkpoint<D>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<D> Eq for Checkpoint<D>where
D: SupportedDigest,
Auto Trait Implementations§
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<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.