Trait opendal::raw::oio::BlockingRead
source · pub trait BlockingRead: Send + Sync {
// Required method
fn read_at(&self, offset: u64, limit: usize) -> Result<Buffer>;
}
Expand description
Read is the trait that OpenDAL returns to callers.
Required Methods§
Implementations on Foreign Types§
source§impl BlockingRead for ()
impl BlockingRead for ()
source§impl BlockingRead for Bytes
impl BlockingRead for Bytes
source§impl<T: BlockingRead + ?Sized> BlockingRead for Box<T>
impl<T: BlockingRead + ?Sized> BlockingRead for Box<T>
Box<dyn BlockingRead>
won’t implement BlockingRead
automatically.
To make BlockingReader work as expected, we must add this impl.