Home
last modified time | relevance | path

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

/external/rust/crates/mio/src/sys/unix/uds/
Dsocketaddr.rs22 enum AddressKind<'a> { enum
29 fn address(&self) -> AddressKind<'_> { in address()
33 return AddressKind::Unnamed; in address()
43 AddressKind::Unnamed in address()
45 AddressKind::Abstract(&path[1..len]) in address()
47 AddressKind::Pathname(OsStr::from_bytes(&path[..len - 1]).as_ref()) in address()
82 matches!(self.address(), AddressKind::Unnamed)
91 if let AddressKind::Pathname(path) = self.address() {
103 if let AddressKind::Abstract(path) = self.address() {
115 AddressKind::Unnamed => write!(fmt, "(unnamed)"), in fmt()
[all …]