pub trait ProofSource: MaybeSend {
// Required method
fn read(&mut self, id: Hash) -> BoxFuture<'_, Result<Vec<u8>, ServerError>>;
}Expand description
Canonical repository objects supplied to a proof builder. Reads verify membership and integrity and share one bounded decode allowance.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".