Skip to main content

VectorFileSystem

Trait VectorFileSystem 

Source
pub trait VectorFileSystem: FileSystem {
    // Provided method
    fn read_many_into(
        &mut self,
        requests: &[ReadOp],
        buffers: &mut [&mut [u8]],
    ) -> VfResult<Vec<ReadIntoResult>> { ... }
}
Expand description

Optimized ordered vectors. This is deliberately separate from the scalar contract so a backend can implement scalar semantics without pretending to support native batching.

Provided Methods§

Source

fn read_many_into( &mut self, requests: &[ReadOp], buffers: &mut [&mut [u8]], ) -> VfResult<Vec<ReadIntoResult>>

Vector read into caller storage. Backends can override the copying fallback without changing the owned-result read_many contract.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§