pub trait Resolver:
Send
+ Sync
+ Clone
+ 'static {
type Family: Family;
type Digest: Digest;
type Op;
type Error: Error + Send + 'static;
// Required method
fn get_compact_state<'a>(
&'a self,
target: Target<Self::Family, Self::Digest>,
) -> impl Future<Output = Result<FetchResult<Self::Family, Self::Op, Self::Digest>, Self::Error>> + Send + 'a;
}Expand description
Trait for compact sync fetches from a source database.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".