| 167 | /// This contains the updated state after successful application. |
| 168 | #[derive(Debug, Clone)] |
| 169 | pub struct ApplyResult { |
| 170 | /// The new Merkle state of the view |
| 171 | pub new_state: Merkle, |
| 172 | /// The sequence number of the applied change |
| 173 | pub sequence: u64, |
| 174 | /// Whether any conflicts were detected |
| 175 | pub has_conflicts: bool, |
| 176 | } |
| 177 | |
| 178 | impl ApplyResult { |
| 179 | /// Create a new ApplyResult. |
nothing calls this directly
no outgoing calls
no test coverage detected