pub enum AccessPointControllerRequest {
StartAccessPoint {
config: NetworkConfig,
mode: ConnectivityMode,
band: OperatingBand,
responder: AccessPointControllerStartAccessPointResponder,
},
StopAccessPoint {
config: NetworkConfig,
responder: AccessPointControllerStopAccessPointResponder,
},
StopAllAccessPoints {
control_handle: AccessPointControllerControlHandle,
},
}
Expand description
AccessPointControllers allow the caller to trigger wlan state changes. This includes whether the device will act as an access point and provide a wlan network for other co-located devices.
Variants§
StartAccessPoint
Enables wlan to initiate AccessPoint operation using the provided network configuration, connectivity mode and band.
StopAccessPoint
Deactivate AccessPoint operation for a specified network configuration.
StopAllAccessPoints
Deactivates all AccessPoints currently operating on the device.
Fields
§
control_handle: AccessPointControllerControlHandle
Implementations§
Source§impl AccessPointControllerRequest
impl AccessPointControllerRequest
pub fn into_start_access_point( self, ) -> Option<(NetworkConfig, ConnectivityMode, OperatingBand, AccessPointControllerStartAccessPointResponder)>
pub fn into_stop_access_point( self, ) -> Option<(NetworkConfig, AccessPointControllerStopAccessPointResponder)>
pub fn into_stop_all_access_points( self, ) -> Option<AccessPointControllerControlHandle>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccessPointControllerRequest
impl !RefUnwindSafe for AccessPointControllerRequest
impl Send for AccessPointControllerRequest
impl Sync for AccessPointControllerRequest
impl Unpin for AccessPointControllerRequest
impl !UnwindSafe for AccessPointControllerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more