Check if a type exists.
(&self, type_: u64)
| 154 | |
| 155 | /// Check if a type exists. |
| 156 | pub fn contains(&self, type_: u64) -> bool { |
| 157 | self.0.iter().any(|rec| rec.type_ == type_) |
| 158 | } |
| 159 | |
| 160 | /// Insert or override a `tu64` value for `type_` (keeps canonical TLV order). |
| 161 | pub fn set_tu64(&mut self, type_: u64, value: u64) { |
no outgoing calls
no test coverage detected