Trait BlobReader
pub trait BlobReader {
// Required method
fn read(&mut self, path: &str) -> Result<Option<Vec<u8>>>;
}Expand description
Reads many blobs at one revision without re-resolving rev→commit→
root-tree per call. The HEAD-time scans build one per rayon worker via
map_init; it holds thread-local state, is NOT Send, and must stay on
its worker thread.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".