pub enum WlanixRequest {
GetWifi {
payload: WlanixGetWifiRequest,
control_handle: WlanixControlHandle,
},
GetSupplicant {
payload: WlanixGetSupplicantRequest,
control_handle: WlanixControlHandle,
},
GetNl80211 {
payload: WlanixGetNl80211Request,
control_handle: WlanixControlHandle,
},
_UnknownMethod {
ordinal: u64,
control_handle: WlanixControlHandle,
method_type: MethodType,
},
}
Expand description
Protocol used to proxy Wlanix requests from Starnix into Fuchsia.
Variants§
GetWifi
Register the channel to make WiFi request to.
GetSupplicant
GetNl80211
_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: WlanixControlHandle
§
method_type: MethodType
Implementations§
Source§impl WlanixRequest
impl WlanixRequest
pub fn into_get_wifi( self, ) -> Option<(WlanixGetWifiRequest, WlanixControlHandle)>
pub fn into_get_supplicant( self, ) -> Option<(WlanixGetSupplicantRequest, WlanixControlHandle)>
pub fn into_get_nl80211( self, ) -> Option<(WlanixGetNl80211Request, WlanixControlHandle)>
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 WlanixRequest
impl !RefUnwindSafe for WlanixRequest
impl Send for WlanixRequest
impl Sync for WlanixRequest
impl Unpin for WlanixRequest
impl !UnwindSafe for WlanixRequest
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