How to convert futures_util AsyncRead to tokio AsyncRead?

very few docs about tokio_util::compat :frowning:

Like this:

use tokio_util::compat::FuturesAsyncReadCompatExt;

let tokio_async_read = futures_async_read.compat();

The import is necessary.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.