(
&mut self,
id: TrunkId,
state: TrunkState,
)
| 412 | } |
| 413 | |
| 414 | fn update_trunk_state( |
| 415 | &mut self, |
| 416 | id: TrunkId, |
| 417 | state: TrunkState, |
| 418 | ) -> Result<(), Self::Error> { |
| 419 | if let Some(trunk) = self.trunks.get_mut(&id) { |
| 420 | trunk.set_state(state); |
| 421 | } |
| 422 | Ok(()) |
| 423 | } |
| 424 | |
| 425 | fn update_trunk_path(&mut self, id: TrunkId, new_path: &str) -> Result<(), Self::Error> { |
| 426 | if let Some(trunk) = self.trunks.get_mut(&id) { |
no test coverage detected