pub trait WlantapCtlProxyInterface: Send + Sync {
type CreatePhyResponseFut: Future<Output = Result<i32, Error>> + Send;
// Required method
fn create_phy(
&self,
config: &WlantapPhyConfig,
proxy: ServerEnd<WlantapPhyMarker>,
) -> Self::CreatePhyResponseFut;
}Required Associated Types§
Required Methods§
fn create_phy( &self, config: &WlantapPhyConfig, proxy: ServerEnd<WlantapPhyMarker>, ) -> Self::CreatePhyResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".