(
&mut self,
id: TrunkId,
state: TrunkState,
)
| 526 | } |
| 527 | |
| 528 | fn update_trunk_state( |
| 529 | &mut self, |
| 530 | id: TrunkId, |
| 531 | state: TrunkState, |
| 532 | ) -> Result<(), Self::Error> { |
| 533 | if let Some(trunk) = self.trunks.get_mut(&id) { |
| 534 | trunk.set_state(state); |
| 535 | } |
| 536 | Ok(()) |
| 537 | } |
| 538 | |
| 539 | fn update_trunk_path(&mut self, id: TrunkId, new_path: &str) -> Result<(), Self::Error> { |
| 540 | if let Some(trunk) = self.trunks.get_mut(&id) { |
no test coverage detected