pub trait WlanPhyNotifyProxyInterface: Send + Sync {
type OnCriticalErrorResponseFut: Future<Output = Result<WlanPhyNotifyOnCriticalErrorResult, Error>> + Send;
type OnCountryCodeChangeResponseFut: Future<Output = Result<WlanPhyNotifyOnCountryCodeChangeResult, Error>> + Send;
// Required methods
fn on_critical_error(
&self,
payload: &WlanPhyNotifyOnCriticalErrorRequest,
) -> Self::OnCriticalErrorResponseFut;
fn on_country_code_change(
&self,
payload: &WlanPhyNotifyOnCountryCodeChangeRequest,
) -> Self::OnCountryCodeChangeResponseFut;
}Required Associated Types§
type OnCriticalErrorResponseFut: Future<Output = Result<WlanPhyNotifyOnCriticalErrorResult, Error>> + Send
type OnCountryCodeChangeResponseFut: Future<Output = Result<WlanPhyNotifyOnCountryCodeChangeResult, Error>> + Send
Required Methods§
fn on_critical_error( &self, payload: &WlanPhyNotifyOnCriticalErrorRequest, ) -> Self::OnCriticalErrorResponseFut
fn on_country_code_change( &self, payload: &WlanPhyNotifyOnCountryCodeChangeRequest, ) -> Self::OnCountryCodeChangeResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".