MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_invalid_state

Method is_invalid_state

atomic-core/src/crdt/apply/error.rs:468–475  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

466 /// Returns `true` if this is an "invalid state" error.
467 #[inline]
468 pub fn is_invalid_state(&self) -> bool {
469 matches!(
470 self,
471 ApplyError::InvalidTrunkState { .. }
472 | ApplyError::InvalidBranchState { .. }
473 | ApplyError::InvalidLeafState { .. }
474 )
475 }
476
477 /// Returns `true` if this is an ordering-related error.
478 #[inline]

Callers 2

is_recoverableMethod · 0.80

Calls

no outgoing calls

Tested by 1