(&self)
| 135 | } |
| 136 | |
| 137 | fn oid(&self) -> Option<&str> { |
| 138 | match self { |
| 139 | Self::Attached { oid, .. } | Self::Detached { oid } => Some(oid), |
| 140 | Self::Unknown { oid } => oid.as_deref(), |
| 141 | Self::Unborn { .. } | Self::MissingTarget { .. } => None, |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | #[derive(Clone, Debug, Eq, PartialEq)] |
no outgoing calls
no test coverage detected