pub struct TcpConnection { /* private fields */ }Implementations§
Source§impl TcpConnection
impl TcpConnection
pub async fn connect( addr: Address, opts: ConnectOptions, ) -> Result<TcpConnection>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TcpConnection
impl RefUnwindSafe for TcpConnection
impl Send for TcpConnection
impl Sync for TcpConnection
impl Unpin for TcpConnection
impl UnsafeUnpin 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