pub struct ReadyConnect<B, S> { /* private fields */ }
Expand description
A connection that has been established with the other end and now just needs a socket to start transmitting.
Implementations§
Source§impl<B: PacketBuffer, S: AsyncRead + AsyncWrite + Send + 'static> ReadyConnect<B, S>
impl<B: PacketBuffer, S: AsyncRead + AsyncWrite + Send + 'static> ReadyConnect<B, S>
Sourcepub async fn finish_connect(self, socket: S) -> ConnectionState
pub async fn finish_connect(self, socket: S) -> ConnectionState
Finish establishing the connection by providing a socket for data transfer.
Auto Trait Implementations§
impl<B, S> Freeze for ReadyConnect<B, S>
impl<B, S> !RefUnwindSafe for ReadyConnect<B, S>
impl<B, S> Send for ReadyConnect<B, S>
impl<B, S> Sync for ReadyConnect<B, S>
impl<B, S> Unpin for ReadyConnect<B, S>
impl<B, S> !UnwindSafe for ReadyConnect<B, S>
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