pub trait SnapshotReceiverProxyInterface: Send + Sync {
    type BatchResponseFut: Future<Output = Result<(), Error>> + Send;
    type ReportErrorResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn batch(&self, batch: &[SnapshotElement]) -> Self::BatchResponseFut;
    fn report_error(
        &self,
        error: CollectorError
    ) -> Self::ReportErrorResponseFut;
}

Required Associated Types§

source

type BatchResponseFut: Future<Output = Result<(), Error>> + Send

source

type ReportErrorResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Implementors§