Trait laminarmq_io::io_types::AsyncRead
source · pub trait AsyncRead<B: ByteLender>: SizedEntity + FallibleEntity {
// Required method
fn read_at<'a>(
&'a mut self,
position: Self::Position,
size: Self::Size,
) -> impl Future<Output = Result<ReadBytes<B::ByteBuf<'a>, Self::Size>, Self::Error>> + 'a
where B: 'a;
}
Required Methods§
fn read_at<'a>(
&'a mut self,
position: Self::Position,
size: Self::Size,
) -> impl Future<Output = Result<ReadBytes<B::ByteBuf<'a>, Self::Size>, Self::Error>> + 'awhere
B: 'a,
Object Safety§
This trait is not object safe.