You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't properly encapsulate the private type inside, since client code can dereference the TcpStream to get at it. According to #5489, newtype structs aren't intended to be able to hide their internals. The easiest solution is to probably switch to single-element structs, e.g.: