Skip to main content

AsyncRead

Trait AsyncRead 

Source
pub trait AsyncRead: for<'a> AsyncReadWith<'a> { }
Expand description

Read bytes from a source asynchronously.

This is an asynchronous version of std::io::Read.

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: for<'a> AsyncReadWith<'a> + ?Sized> AsyncRead for T