Create a new `ForwardSpec` with the default bind address.
(port: u16)
| 540 | |
| 541 | /// Create a new `ForwardSpec` with the default bind address. |
| 542 | pub fn new(port: u16) -> Self { |
| 543 | Self { |
| 544 | bind_addr: Self::DEFAULT_BIND_ADDR.to_string(), |
| 545 | port, |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | /// Parse a `[bind_address:]port` string. |
| 550 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected