Struct tokio::net::unix::SocketAddr [−][src]
pub struct SocketAddr(_);
An address associated with a Tokio Unix socket.
Implementations
impl SocketAddr
[src]
impl SocketAddr
[src]pub fn is_unnamed(&self) -> bool
[src]
Returns true
if the address is unnamed.
Documentation reflected in SocketAddr
pub fn as_pathname(&self) -> Option<&Path>
[src]
Returns the contents of this address if it is a pathname
address.
Documentation reflected in SocketAddr