impl fmt::Debug for TcpListener {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- self.io.fmt(f)
+ (*self.io).fmt(f)
}
}
impl fmt::Debug for TcpStream {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- self.io.fmt(f)
+ // skip PollEvented noise
+ (*self.io).fmt(f)
}
}
impl fmt::Debug for UnixDatagram {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- self.io.fmt(f)
+ (*self.io).fmt(f)
}
}
impl fmt::Debug for UnixListener {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- self.io.fmt(f)
+ (*self.io).fmt(f)
}
}
impl fmt::Debug for UnixStream {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- self.io.fmt(f)
+ (*self.io).fmt(f)
}
}