Enum nix::sys::socket::SockAddr
[−]
[src]
pub enum SockAddr {
Inet(InetAddr),
Unix(UnixAddr),
}Represents a socket address
Variants
Inet | |
Unix |
pub enum SockAddr {
Inet(InetAddr),
Unix(UnixAddr),
}Represents a socket address
Inet | |
Unix |
impl SockAddrfn new_inet(addr: InetAddr) -> SockAddrfn new_unix<P: ?Sized + NixPath>(path: &P) -> Result<SockAddr>fn family(&self) -> AddressFamilyfn to_str(&self) -> Stringunsafe fn as_ffi_pair(&self) -> (&sockaddr, socklen_t)impl PartialEq for SockAddrimpl Eq for SockAddrimpl Hash for SockAddrfn hash<H: Hasher>(&self, s: &mut H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Clone for SockAddrfn clone(&self) -> SockAddrfn clone_from(&mut self, source: &Self)impl Display for SockAddrimpl Copy for SockAddr
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)