pub trait BlockDownloaderProvider {
type Client: BlockClient + BlockAccessListsClient + 'static
where <Self::Client as HeadersClient>::Header: Debug,
<Self::Client as BodiesClient>::Body: Debug;
// Required method
fn fetch_client(
&self,
) -> impl Future<Output = Result<Self::Client, RecvError>> + Send;
}Expand description
Provides client for downloading blocks.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".