Trait linera_core::worker::ProcessableCertificate
source · 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
Object Safety§
This trait is not object safe.