mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
This reverts commit 2400769b54.
This commit is contained in:
@@ -22,15 +22,6 @@ impl SocketAddr {
|
|||||||
pub fn as_pathname(&self) -> Option<&Path> {
|
pub fn as_pathname(&self) -> Option<&Path> {
|
||||||
self.0.as_pathname()
|
self.0.as_pathname()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the contents of this address if it is an abstract namespace.
|
|
||||||
///
|
|
||||||
/// See also the standard library documentation on [`SocketAddr`].
|
|
||||||
///
|
|
||||||
/// [`SocketAddr`]: std::os::unix::net::SocketAddr
|
|
||||||
pub fn as_abstract_namespace(&self) -> Option<&[u8]> {
|
|
||||||
self.0.as_abstract_namespace()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl fmt::Debug for SocketAddr {
|
impl fmt::Debug for SocketAddr {
|
||||||
|
|||||||
Reference in New Issue
Block a user