pub enum CoherenceState {
Healthy,
GettingCrowded,
RefreshingContext,
VerifyingRecentWork,
ResettingPlan,
}Expand description
User-facing coherence ladder for session health.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CoherenceState
impl Clone for CoherenceState
Source§fn clone(&self) -> CoherenceState
fn clone(&self) -> CoherenceState
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 CoherenceState
Source§impl Debug for CoherenceState
impl Debug for CoherenceState
Source§impl Default for CoherenceState
impl Default for CoherenceState
Source§fn default() -> CoherenceState
fn default() -> CoherenceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoherenceState
impl<'de> Deserialize<'de> for CoherenceState
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 CoherenceState
Source§impl JsonSchema for CoherenceState
impl JsonSchema for CoherenceState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CoherenceState
impl PartialEq for CoherenceState
Source§fn eq(&self, other: &CoherenceState) -> bool
fn eq(&self, other: &CoherenceState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CoherenceState
impl Serialize for CoherenceState
impl StructuralPartialEq for CoherenceState
Auto Trait Implementations§
impl Freeze for CoherenceState
impl RefUnwindSafe for CoherenceState
impl Send for CoherenceState
impl Sync for CoherenceState
impl Unpin for CoherenceState
impl UnsafeUnpin for CoherenceState
impl UnwindSafe for CoherenceState
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