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

Method invalid_leaf_state

atomic-core/src/crdt/apply/error.rs:365–375  ·  view source on GitHub ↗
(
        leaf_id: LeafId,
        current_state: impl Into<String>,
        operation: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

363 /// Creates an `InvalidLeafState` error.
364 #[inline]
365 pub fn invalid_leaf_state(
366 leaf_id: LeafId,
367 current_state: impl Into<String>,
368 operation: impl Into<String>,
369 ) -> Self {
370 ApplyError::InvalidLeafState {
371 leaf_id,
372 current_state: current_state.into(),
373 operation: operation.into(),
374 }
375 }
376
377 /// Creates an `InsertionPositionNotFound` error.
378 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected