Struct bitflags::__core::os::ext::net::SocketAddr
[−]
[src]
pub struct SocketAddr {
// some fields omitted
}Unstable (
unix_socket): newly added
An address associated with a Unix socket.
Methods
impl SocketAddr
fn is_unnamed(&self) -> bool
Unstable (
unix_socket): newly added
Returns true iff the address is unnamed.
fn as_pathname(&self) -> Option<&Path>
Unstable (
unix_socket): newly added
Returns the contents of this address if it is a pathname address.
Trait Implementations
impl Debug for SocketAddr
Derived Implementations
impl Clone for SocketAddr
fn clone(&self) -> SocketAddr
Unstable (
unix_socket): newly added