| 408 | /// ``` |
| 409 | #[derive(Debug)] |
| 410 | pub struct ApplyContext { |
| 411 | /// Configuration options. |
| 412 | options: ApplyOptions, |
| 413 | |
| 414 | /// Operation statistics. |
| 415 | stats: ApplyStats, |
| 416 | |
| 417 | /// Detected conflicts. |
| 418 | conflicts: Vec<CrdtConflict>, |
| 419 | |
| 420 | /// Whether the apply has failed. |
| 421 | failed: bool, |
| 422 | |
| 423 | /// Failure reason, if any. |
| 424 | failure_reason: Option<String>, |
| 425 | } |
| 426 | |
| 427 | impl ApplyContext { |
| 428 | /// Creates a new context with the given options. |
nothing calls this directly
no outgoing calls
no test coverage detected