(
&mut self,
id: TrunkId,
state: TrunkState,
)
| 419 | } |
| 420 | |
| 421 | fn update_trunk_state( |
| 422 | &mut self, |
| 423 | id: TrunkId, |
| 424 | state: TrunkState, |
| 425 | ) -> Result<(), Self::Error> { |
| 426 | if let Some(trunk) = self.trunks.get_mut(&id) { |
| 427 | trunk.set_state(state); |
| 428 | } |
| 429 | Ok(()) |
| 430 | } |
| 431 | |
| 432 | fn update_trunk_path(&mut self, id: TrunkId, new_path: &str) -> Result<(), Self::Error> { |
| 433 | if let Some(trunk) = self.trunks.get_mut(&id) { |
no test coverage detected