[][src]Trait posix_socket::SpecificSocketAddress

pub trait SpecificSocketAddress: AsSocketAddress {
    fn static_family() -> sa_family_t;
}

A socket address that only supports one specific family.

Required methods

fn static_family() -> sa_family_t

The address family supported by this socket address.

Loading content...

Implementors

impl SpecificSocketAddress for Inet4SocketAddress[src]

impl SpecificSocketAddress for Inet6SocketAddress[src]

impl SpecificSocketAddress for UnixSocketAddress[src]

Loading content...