pub struct TcpTransport { /* private fields */ }Expand description
Connected TCP transport. Owns the underlying TcpStream; close
shuts both directions of the stream down so the peer observes a
clean end-of-stream.
Trait Implementations§
Source§impl Drop for TcpTransport
impl Drop for TcpTransport
Auto Trait Implementations§
impl Freeze for TcpTransport
impl RefUnwindSafe for TcpTransport
impl Send for TcpTransport
impl Sync for TcpTransport
impl Unpin for TcpTransport
impl UnsafeUnpin for TcpTransport
impl UnwindSafe for TcpTransport
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