pub trait AsyncReadRentAt {
// Required method
fn read_at<T: IoBufMut>(
&mut self,
buf: T,
pos: usize,
) -> impl Future<Output = BufResult<usize, T>>;
}
Expand description
AsyncReadRentAt: async read with a ownership of a buffer and a position
Required Methods§
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.