Skip to main content

try_cvt_tokio_unix_addr

Function try_cvt_tokio_unix_addr 

Source
fn try_cvt_tokio_unix_addr(addr: SocketAddr) -> Result<SocketAddr>
Expand description

Try to convert a tokio unix::SocketAddr into a crate::SocketAddr.

Frustratingly, this information is right there: Tokio’s SocketAddr has a std::unix::net::SocketAddr internally, but there appears to be no way to get it out.