pub trait AccessPointControllerProxyInterface: Send + Sync {
type StartAccessPointResponseFut: Future<Output = Result<RequestStatus, Error>> + Send;
type StopAccessPointResponseFut: Future<Output = Result<RequestStatus, Error>> + Send;
// Required methods
fn start_access_point(
&self,
config: &NetworkConfig,
mode: ConnectivityMode,
band: OperatingBand,
) -> Self::StartAccessPointResponseFut;
fn stop_access_point(
&self,
config: &NetworkConfig,
) -> Self::StopAccessPointResponseFut;
fn stop_all_access_points(&self) -> Result<(), Error>;
}Required Associated Types§
type StartAccessPointResponseFut: Future<Output = Result<RequestStatus, Error>> + Send
type StopAccessPointResponseFut: Future<Output = Result<RequestStatus, Error>> + Send
Required Methods§
fn start_access_point( &self, config: &NetworkConfig, mode: ConnectivityMode, band: OperatingBand, ) -> Self::StartAccessPointResponseFut
fn stop_access_point( &self, config: &NetworkConfig, ) -> Self::StopAccessPointResponseFut
fn stop_all_access_points(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".