pub trait ObjectSource: Send + Sync {
// Required method
async fn read_object(&self, hash: &Hash32) -> Result<Option<VerifiedObject>>;
}Required Methods§
async fn read_object(&self, hash: &Hash32) -> Result<Option<VerifiedObject>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".