Struct mio::net::SocketAddr [−][src]
pub struct SocketAddr { /* fields omitted */ }
An address associated with a mio
specific Unix socket.
This is implemented instead of imported from net::SocketAddr
because
there is no way to create a net::SocketAddr
. One must be returned by
accept
, so this is returned instead.
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