Macro net_declare::fidl_socket_addr
fidl_socket_addr!() { /* proc-macro */ }
Expand description
Declares an [fidl_fuchsia_net::SocketAddress
] 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
zone_index=0
. See Rust issue 1992.