pub enum NodeMeasurementStatus {
Missing,
Fresh {
revision: u64,
},
Dirty {
revision: u64,
reason: NodeInternalsInvalidationReason,
},
}Expand description
Freshness state for the latest node-internal measurement facts.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NodeMeasurementStatus
impl Clone for NodeMeasurementStatus
Source§fn clone(&self) -> NodeMeasurementStatus
fn clone(&self) -> NodeMeasurementStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NodeMeasurementStatus
Source§impl Debug for NodeMeasurementStatus
impl Debug for NodeMeasurementStatus
Source§impl<'de> Deserialize<'de> for NodeMeasurementStatus
impl<'de> Deserialize<'de> for NodeMeasurementStatus
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 NodeMeasurementStatus
Source§impl Hash for NodeMeasurementStatus
impl Hash for NodeMeasurementStatus
Source§impl PartialEq for NodeMeasurementStatus
impl PartialEq for NodeMeasurementStatus
Source§fn eq(&self, other: &NodeMeasurementStatus) -> bool
fn eq(&self, other: &NodeMeasurementStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeMeasurementStatus
impl Serialize for NodeMeasurementStatus
impl StructuralPartialEq for NodeMeasurementStatus
Auto Trait Implementations§
impl Freeze for NodeMeasurementStatus
impl RefUnwindSafe for NodeMeasurementStatus
impl Send for NodeMeasurementStatus
impl Sync for NodeMeasurementStatus
impl Unpin for NodeMeasurementStatus
impl UnsafeUnpin for NodeMeasurementStatus
impl UnwindSafe for NodeMeasurementStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.