pub enum WifiChipRequest {
CreateStaIface {
payload: WifiChipCreateStaIfaceRequest,
responder: WifiChipCreateStaIfaceResponder,
},
GetStaIfaceNames {
responder: WifiChipGetStaIfaceNamesResponder,
},
GetStaIface {
payload: WifiChipGetStaIfaceRequest,
responder: WifiChipGetStaIfaceResponder,
},
RemoveStaIface {
payload: WifiChipRemoveStaIfaceRequest,
responder: WifiChipRemoveStaIfaceResponder,
},
SetCountryCode {
payload: WifiChipSetCountryCodeRequest,
responder: WifiChipSetCountryCodeResponder,
},
GetAvailableModes {
responder: WifiChipGetAvailableModesResponder,
},
GetId {
responder: WifiChipGetIdResponder,
},
GetMode {
responder: WifiChipGetModeResponder,
},
GetCapabilities {
responder: WifiChipGetCapabilitiesResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: WifiChipControlHandle,
method_type: MethodType,
},
}
Variants§
CreateStaIface
Request the chip to create a STA iface.
GetStaIfaceNames
Get the names of all active ifaces.
Fields
§
responder: WifiChipGetStaIfaceNamesResponder
GetStaIface
Request a new connection to an existing iface.
RemoveStaIface
Request the destruction of a STA iface on the chip.
SetCountryCode
GetAvailableModes
Get a set of operation modes that the chip supports. This combination encodes what iface types and how many can be created, and which ones can run concurrently.
Fields
§
responder: WifiChipGetAvailableModesResponder
GetId
Get the ID of the current chip.
Fields
§
responder: WifiChipGetIdResponder
GetMode
Get the current mode that the chip is in.
Fields
§
responder: WifiChipGetModeResponder
GetCapabilities
Get capabilities supported by this chip.
Fields
§
responder: WifiChipGetCapabilitiesResponder
_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: WifiChipControlHandle
§
method_type: MethodType
Implementations§
Source§impl WifiChipRequest
impl WifiChipRequest
pub fn into_create_sta_iface( self, ) -> Option<(WifiChipCreateStaIfaceRequest, WifiChipCreateStaIfaceResponder)>
pub fn into_get_sta_iface_names( self, ) -> Option<WifiChipGetStaIfaceNamesResponder>
pub fn into_get_sta_iface( self, ) -> Option<(WifiChipGetStaIfaceRequest, WifiChipGetStaIfaceResponder)>
pub fn into_remove_sta_iface( self, ) -> Option<(WifiChipRemoveStaIfaceRequest, WifiChipRemoveStaIfaceResponder)>
pub fn into_set_country_code( self, ) -> Option<(WifiChipSetCountryCodeRequest, WifiChipSetCountryCodeResponder)>
pub fn into_get_available_modes( self, ) -> Option<WifiChipGetAvailableModesResponder>
pub fn into_get_id(self) -> Option<WifiChipGetIdResponder>
pub fn into_get_mode(self) -> Option<WifiChipGetModeResponder>
pub fn into_get_capabilities(self) -> Option<WifiChipGetCapabilitiesResponder>
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 WifiChipRequest
impl !RefUnwindSafe for WifiChipRequest
impl Send for WifiChipRequest
impl Sync for WifiChipRequest
impl Unpin for WifiChipRequest
impl !UnwindSafe for WifiChipRequest
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