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;
}