socket_addr!() { /* proc-macro */ }Expand description
Declares an [std::net::SocketAddr] from a parsable IP address + port
string (either V4 or V6).
NOTE: std::net::SocketAddrV6 does not support parsing scope_id from
strings, meaning the generated IPv6 socket address will always have
scope_id=0. See Rust issue 1992.