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