pub struct Connection { /* private fields */ }Expand description
Drives a connection: reads and dispatches incoming messages and writes
outgoing ones. Created by connect.
Implementations§
Source§impl Connection
impl Connection
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Connection
impl !Sync for Connection
impl !UnwindSafe for Connection
impl Forget for Connection
impl Freeze for Connection
impl Move for Connection
impl Send for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
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