unix-socket
unix-socket copied to clipboard
Should unix SocketAddr implement Display just like usual SocketAddr?
"the trait std::fmt::Display is not implemented for unix_socket::SocketAddr"
Built-in unix SocketAddr also seems to lack Display.
How would it format the address? Display is normally only implemented for things where there's an obvious, canonical format.
Just the path if non-abstract, @+address (if UTF-8-friendly) if abstract.
What about anonymous addresses?
Not sure. Maybe that's why there is no Display...