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