Struct tokio::net::unix::SocketAddr [−][src]
pub struct SocketAddr(_);
This is supported on crate feature
net
only.Expand description
An address associated with a Tokio Unix socket.
Implementations
impl SocketAddr
[src]
impl SocketAddr
[src]pub fn is_unnamed(&self) -> bool
[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]
pub fn as_pathname(&self) -> Option<&Path>
[src]Returns the contents of this address if it is a pathname
address.
Documentation reflected in SocketAddr