pub trait ReporterProxyInterface: Send + Sync {
type ReportResponseFut: Future<Output = Result<ReporterReportResult, Error>> + Send;
// Required method
fn report(&self, info: &Information) -> Self::ReportResponseFut;
}Required Associated Types§
type ReportResponseFut: Future<Output = Result<ReporterReportResult, Error>> + Send
Required Methods§
fn report(&self, info: &Information) -> Self::ReportResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".