Skip to main content

AsyncWrite

Trait AsyncWrite 

Source
pub trait AsyncWrite: for<'a> AsyncWriteWith<'a> { }
Expand description

Write bytes to a source asynchronously.

This is an async version of std::io::Write.

You should not implement this trait manually, instead implement AsyncWriteWith.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: for<'a> AsyncWriteWith<'a> + ?Sized> AsyncWrite for T