Type Alias bevy::tasks::futures_lite::io::BoxedReader

pub type BoxedReader = Pin<Box<dyn AsyncRead + Send>>;
Available on crate features std and alloc only.
Expand description

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

§Examples

use futures_lite::io::AsyncReadExt;

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

Aliased Type§

struct BoxedReader { /* private fields */ }