fidl_fuchsia_memory_heapdump_client

Trait SnapshotReceiverProxyInterface

Source
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§