pub trait AsyncCursorRead:
AsRef<[u8]>
+ Unpin
+ Sized {
// Provided method
fn into_async_cursor(self) -> Cursor<Self> { ... }
}
Provided Methods§
Sourcefn into_async_cursor(self) -> Cursor<Self>
fn into_async_cursor(self) -> Cursor<Self>
Turns any [u8]
data such as a String
into a async
Cursor
which implements
AsyncBufRead
. Intended to be chained with
into_async_parser
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.