pub trait VortexReadAt: Send + Sync {
// Required methods
fn read_at_into(
&self,
pos: u64,
buffer: BytesMut,
) -> impl Future<Output = Result<BytesMut>> + Send;
fn size(&self) -> impl Future<Output = u64>;
// Provided method
fn performance_hint(&self) -> usize { ... }
}Required Methods§
fn read_at_into( &self, pos: u64, buffer: BytesMut, ) -> impl Future<Output = Result<BytesMut>> + Send
Provided Methods§
fn performance_hint(&self) -> usize
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.