[][src]Type Definition futures_lite::io::BoxedReader

type BoxedReader = Pin<Box<dyn AsyncRead + Send + 'static>>;

Type alias for Pin<Box<dyn AsyncRead + Send + 'static>>.

Examples

use futures_lite::io::AsyncReadExt;

let reader = [1, 2, 3].boxed_reader();