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