usesuper::{Stream, RoleHelper};usestd::io::Result;usestd::net::TcpStream;impl<Role: RoleHelper>Stream<TcpStream, Role>{/// Creates a new independently owned handle to the underlying IO source.
////// Caution: **states are not shared among instances!**
pubfntry_clone(&self)->Result<Self>{let io =self.io.try_clone()?;Ok(Self::new(io,self.role))}}