pub trait CrashReportingProductRegisterProxyInterface: Send + Sync {
type UpsertWithAckResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn upsert(
&self,
component_url: &str,
product: &CrashReportingProduct,
) -> Result<(), Error>;
fn upsert_with_ack(
&self,
component_url: &str,
product: &CrashReportingProduct,
) -> Self::UpsertWithAckResponseFut;
}Required Associated Types§
Required Methods§
fn upsert( &self, component_url: &str, product: &CrashReportingProduct, ) -> Result<(), Error>
fn upsert_with_ack( &self, component_url: &str, product: &CrashReportingProduct, ) -> Self::UpsertWithAckResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".