Searched refs:UnixAddrKind (Results 1 – 1 of 1) sorted by relevance
770 enum UnixAddrKind<'a> { enum776 impl<'a> UnixAddrKind<'a> { impl932 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()