pub trait SnapshotSource {
// Required methods
async fn manifest(&self) -> Result<Manifest>;
async fn read(&self, file: &FileInfo) -> Result<Vec<u8>>;
}Expand description
Trait implemented by HTTP, directory, or future object-storage sources.
Required Methods§
async fn manifest(&self) -> Result<Manifest>
async fn read(&self, file: &FileInfo) -> Result<Vec<u8>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".