pub struct TcpConnection { /* private fields */ }
Trait Implementations§
source§impl Connection for TcpConnection
impl Connection for TcpConnection
source§impl Debug for TcpConnection
impl Debug for TcpConnection
source§impl From<TcpStream> for TcpConnection
impl From<TcpStream> for TcpConnection
source§fn from(stream: TcpStream) -> TcpConnection
fn from(stream: TcpStream) -> TcpConnection
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TcpConnection
impl Send for TcpConnection
impl Sync for TcpConnection
impl Unpin for TcpConnection
impl UnwindSafe for TcpConnection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more