Closed Kixunil closed 5 years ago
@Kixunil unfortunately this cannot have Debug
in it because TcpStream
does not implement Debug
.
Would simply having a custom implementation that says TcpStream -> "TcpStream"
be OK?
Sure. It may also skip TcpStream entirely or provide address. Having information about why something failed is what's needed.
Currently one can not use
unwrap()
on the result in order to quickly prototype.