Expand description
A serialisable SocketAddr
wrapper.
There is no intent here to provide many more traits (perhaps serde).
Deref
is implemented to allow easy access to the underlying net::SocketAddr
Structsยง
- Socket
Addr - Wrapper around
std::net::SocketAddr
to enable it to be encoded and decoded. - Socket
Addr V4 - Utility struct of
SocketAddrV4
for hole punching - Socket
Addr V6 - Utility struct of SocketAddrV6 for hole punching