Expand description
Redeclaration of macros to generate std
types.
Macrosยง
- ip
- Declares an [
std::net::IpAddr
] from a parsable IP address (either V4 or V6) string. - ip_v4
- Declares an [
std::net::Ipv4Addr
] from a parsable IPv4 address string. - ip_v6
- Declares an [
std::net::Ipv6Addr
] from a parsable IPv6 address string. - socket_
addr - Declares an [
std::net::SocketAddr
] from a parsable IP address + port string (either V4 or V6). - socket_
addr_ v4 - Declares an [
std::net::SocketAddrV4
] from a parsable IPv4 address + port in the formaddr:port
. - socket_
addr_ v6 - Declares an [
std::net::SocketAddrV6
] from a parsable IPv6 address + port in the form[addr]:port
.