pub trait PeriodicAdvertisingSyncProxyInterface: Send + Sync {
type WatchAdvertisingReportResponseFut: Future<Output = Result<PeriodicAdvertisingSyncWatchAdvertisingReportResponse, Error>> + Send;
type SyncToSubeventsResponseFut: Future<Output = Result<PeriodicAdvertisingSyncSyncToSubeventsResult, Error>> + Send;
// Required methods
fn watch_advertising_report(
&self,
) -> Self::WatchAdvertisingReportResponseFut;
fn sync_to_subevents(
&self,
payload: &PeriodicAdvertisingSyncSyncToSubeventsRequest,
) -> Self::SyncToSubeventsResponseFut;
fn cancel(&self) -> Result<(), Error>;
}Required Associated Types§
type WatchAdvertisingReportResponseFut: Future<Output = Result<PeriodicAdvertisingSyncWatchAdvertisingReportResponse, Error>> + Send
type SyncToSubeventsResponseFut: Future<Output = Result<PeriodicAdvertisingSyncSyncToSubeventsResult, Error>> + Send
Required Methods§
fn watch_advertising_report(&self) -> Self::WatchAdvertisingReportResponseFut
fn sync_to_subevents( &self, payload: &PeriodicAdvertisingSyncSyncToSubeventsRequest, ) -> Self::SyncToSubeventsResponseFut
fn cancel(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".