fn write_addr( f: &mut Formatter<'_>, scheme: &str, addr: &Addr, port: Port, ) -> Result
Writes scheme://addr:port. An IPv6 address goes inside brackets, so the output parses back to the same endpoint.
scheme://addr:port