pub trait PrimaryToWorkerRpc {
    fn request_batch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        peer: &'life1 NetworkPublicKey,
        batch: BatchDigest
    ) -> Pin<Box<dyn Future<Output = Result<Option<Batch>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementors