pub fn async_read_to_sync<S: AsyncRead + Unpin + Send + 'static>(
    reader: S
) -> impl Read + Send + Unpin + 'static
Expand description

Bridge from AsyncRead to Read.