[][src]Enum nng::SocketAddr

pub enum SocketAddr {
    InProc(String),
    Ipc(PathBuf),
    Inet(SocketAddrV4),
    Inet6(SocketAddrV6),
    // some variants omitted
}

Represents the addresses used by the underlying transports.

Variants

InProc(String)

An address associated with intra-process communication.

Ipc(PathBuf)

Represents an address associated with IPC communication.

Address for TCP/IP (v4) communication.

Address for TCP/IP (v6) communication.

Trait Implementations

impl Clone for SocketAddr[src]

impl Eq for SocketAddr[src]

impl PartialEq<SocketAddr> for SocketAddr[src]

impl Debug for SocketAddr[src]

impl Display for SocketAddr[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Format trait for an empty format, {}.

Note that this is liable to change and does not necessarily map to the URL originally provided to NNG.

impl Hash for SocketAddr[src]

impl StructuralPartialEq for SocketAddr[src]

impl StructuralEq for SocketAddr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]