(&self)
| 442 | /// Returns `true` if this is a "not found" error. |
| 443 | #[inline] |
| 444 | pub fn is_not_found(&self) -> bool { |
| 445 | matches!( |
| 446 | self, |
| 447 | ApplyError::TrunkNotFound { .. } |
| 448 | | ApplyError::BranchNotFound { .. } |
| 449 | | ApplyError::LeafNotFound { .. } |
| 450 | | ApplyError::PathNotFound { .. } |
| 451 | ) |
| 452 | } |
| 453 | |
| 454 | /// Returns `true` if this is an "already exists" error. |
| 455 | #[inline] |
no outgoing calls