pub type BoxedWriter = Pin<Box<dyn AsyncWrite + Send>>;
Available on crate features
std
and alloc
only.Expand description
Type alias for Pin<Box<dyn AsyncWrite + Send + 'static>>
.
§Examples
use futures_lite::io::AsyncWriteExt;
let writer = Vec::<u8>::new().boxed_writer();
Aliased Type§
struct BoxedWriter {}