(port: u16)
| 34 | { |
| 35 | self.inner.start(methods) |
| 36 | } |
| 37 | |
| 38 | pub fn local_addr(&self) -> anyhow::Result<SocketAddr> { |
| 39 | self.inner.local_addr().map_err(Into::into) |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | impl RpcServerBuilder { |
| 44 | /// Listen on all interfaces (`0.0.0.0`). |
| 45 | pub fn new(port: u16) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected