Skip to main content

complete_stream

Function complete_stream 

Source
pub async fn complete_stream<H, T>(
    handshake: H,
    io: &mut T,
) -> Result<H, DriveError<H::Error>>
where H: Handshake, T: AsyncRead + AsyncWrite + Unpin,
Expand description

complete_stream over a tokio stream: the handshake once complete, not yet finished.

ยงErrors

As drive_stream.