(&mut self, op: &ArrayOp)
| 262 | } |
| 263 | |
| 264 | fn apply_erase(&mut self, op: &ArrayOp) -> ArrayResult<()> { |
| 265 | if let Some(err) = self.take_inject() { |
| 266 | return Err(err); |
| 267 | } |
| 268 | self.seen |
| 269 | .insert((op.header.array.clone(), op.header.hlc.to_bytes())); |
| 270 | self.applied.push(op.clone()); |
| 271 | Ok(()) |
| 272 | } |
| 273 | |
| 274 | fn invalidate_tile(&mut self, array: &str, coord: &[CoordValue]) -> ArrayResult<()> { |
| 275 | self.invalidated.push((array.to_string(), coord.to_vec())); |