(tap_device: String, host_ip: String, gateway_port: u16)
| 602 | |
| 603 | impl TapGuard { |
| 604 | fn new(tap_device: String, host_ip: String, gateway_port: u16) -> Self { |
| 605 | Self { |
| 606 | tap_device, |
| 607 | host_ip, |
| 608 | gateway_port, |
| 609 | disarmed: false, |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | fn disarm(&mut self) { |
| 614 | self.disarmed = true; |
nothing calls this directly
no outgoing calls
no test coverage detected