Home
last modified time | relevance | path

Searched refs:UnixAddrKind (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/nix/src/sys/socket/
Daddr.rs770 enum UnixAddrKind<'a> { enum
776 impl<'a> UnixAddrKind<'a> { implementation
932 fn kind(&self) -> UnixAddrKind<'_> { in kind()
934 unsafe { UnixAddrKind::get(&self.sun, self.sun_len()) } in kind()
940 UnixAddrKind::Pathname(path) => Some(path), in path()
953 UnixAddrKind::Abstract(name) => Some(name), in as_abstract()
963 matches!(self.kind(), UnixAddrKind::Unnamed) in is_unnamed()
1075 UnixAddrKind::Pathname(path) => path.display().fmt(f), in fmt()
1076 UnixAddrKind::Unnamed => f.pad("<unbound UNIX socket>"), in fmt()
1078 UnixAddrKind::Abstract(name) => fmt_abstract(name, f), in fmt()