pub trait ProcessableCertificate:
CertificateValue
+ Sized
+ 'static
+ Send {
// Required method
fn process_certificate<S: Storage + Clone + Send + Sync + 'static>(
worker: &WorkerState<S>,
certificate: GenericCertificate<Self>,
) -> impl Future<Output = Result<(ChainInfoResponse, NetworkActions), WorkerError>> + Send;
}
Required Methods§
fn process_certificate<S: Storage + Clone + Send + Sync + 'static>( worker: &WorkerState<S>, certificate: GenericCertificate<Self>, ) -> impl Future<Output = Result<(ChainInfoResponse, NetworkActions), WorkerError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.