pub async fn drive_messages<H, T>(
handshake: H,
transport: &mut T,
) -> Result<Established<H::Output>, DriveError<H::Error>>where
H: Handshake,
T: MessageTransport,Expand description
drive_messages over an async message transport.
ยงErrors
DriveError when the transport fails or the handshake refuses the peer.