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

Class ApplyOutcome

atomic-core/src/crdt/apply/context.rs:671–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669/// ```
670#[derive(Debug, Clone)]
671pub struct ApplyOutcome {
672 /// Final operation statistics.
673 stats: ApplyStats,
674
675 /// All detected conflicts.
676 conflicts: Vec<CrdtConflict>,
677
678 /// Whether the apply succeeded.
679 success: bool,
680
681 /// Failure reason, if any.
682 failure_reason: Option<String>,
683}
684
685impl ApplyOutcome {
686 /// Returns `true` if the apply succeeded.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected