pub enum WifiStaIfaceRequest {
GetName {
responder: WifiStaIfaceGetNameResponder,
},
SetScanOnlyMode {
payload: WifiStaIfaceSetScanOnlyModeRequest,
responder: WifiStaIfaceSetScanOnlyModeResponder,
},
SetMacAddress {
mac_addr: [u8; 6],
responder: WifiStaIfaceSetMacAddressResponder,
},
#[non_exhaustive] _UnknownMethod {
ordinal: u64,
control_handle: WifiStaIfaceControlHandle,
method_type: MethodType,
},
}Variants§
GetName
Get the name of this iface.
Fields
§
responder: WifiStaIfaceGetNameResponderSetScanOnlyMode
SetMacAddress
Sets the MAC address of the client interface. To reset the MAC address to the default/factory
value, use the GetFactoryMacAddress method to retrieve the factory address and pass it to
this method.
#[non_exhaustive]_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: WifiStaIfaceControlHandle§
method_type: MethodTypeImplementations§
Source§impl WifiStaIfaceRequest
impl WifiStaIfaceRequest
pub fn into_get_name(self) -> Option<WifiStaIfaceGetNameResponder>
pub fn into_set_scan_only_mode( self, ) -> Option<(WifiStaIfaceSetScanOnlyModeRequest, WifiStaIfaceSetScanOnlyModeResponder)>
pub fn into_set_mac_address( self, ) -> Option<([u8; 6], WifiStaIfaceSetMacAddressResponder)>
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 WifiStaIfaceRequest
impl !RefUnwindSafe for WifiStaIfaceRequest
impl Send for WifiStaIfaceRequest
impl Sync for WifiStaIfaceRequest
impl Unpin for WifiStaIfaceRequest
impl !UnwindSafe for WifiStaIfaceRequest
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