pub enum InconsistencyReason {
MissingStateJson,
UnreadableStateJson,
}Expand description
Why a registry entry could not be reconciled against its state.json during
recovery. Typed so the report distinguishes the two cases a bare short_id
string elided (ab-3aea7437), mirroring ReconcileOutcome’s (name, reason)
inconsistency record. as_str() is the wire/event reason value.
Variants§
MissingStateJson
Registry row present, but no readable state.json (never spawned, or the
file was removed out from under the daemon).
UnreadableStateJson
state.json present but unreadable (I/O error or partial parse).
Implementations§
Trait Implementations§
Source§impl Clone for InconsistencyReason
impl Clone for InconsistencyReason
Source§fn clone(&self) -> InconsistencyReason
fn clone(&self) -> InconsistencyReason
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 moreSource§impl Debug for InconsistencyReason
impl Debug for InconsistencyReason
impl Eq for InconsistencyReason
Source§impl PartialEq for InconsistencyReason
impl PartialEq for InconsistencyReason
impl StructuralPartialEq for InconsistencyReason
Auto Trait Implementations§
impl Freeze for InconsistencyReason
impl RefUnwindSafe for InconsistencyReason
impl Send for InconsistencyReason
impl Sync for InconsistencyReason
impl Unpin for InconsistencyReason
impl UnsafeUnpin for InconsistencyReason
impl UnwindSafe for InconsistencyReason
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.