Enum akd::VersionFreshness
source · #[repr(u8)]pub enum VersionFreshness {
Stale,
Fresh,
}
Expand description
Whether or not a node is marked as stale or fresh Stale nodes are no longer active because a newer version exists to replace them.
Variants§
Trait Implementations§
source§impl Clone for VersionFreshness
impl Clone for VersionFreshness
source§fn clone(&self) -> VersionFreshness
fn clone(&self) -> VersionFreshness
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 Debug for VersionFreshness
impl Debug for VersionFreshness
source§impl Hash for VersionFreshness
impl Hash for VersionFreshness
source§impl PartialEq<VersionFreshness> for VersionFreshness
impl PartialEq<VersionFreshness> for VersionFreshness
source§fn eq(&self, other: &VersionFreshness) -> bool
fn eq(&self, other: &VersionFreshness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VersionFreshness
impl Eq for VersionFreshness
impl StructuralEq for VersionFreshness
impl StructuralPartialEq for VersionFreshness
Auto Trait Implementations§
impl RefUnwindSafe for VersionFreshness
impl Send for VersionFreshness
impl Sync for VersionFreshness
impl Unpin for VersionFreshness
impl UnwindSafe for VersionFreshness
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more