pub enum SupplicantStaNetworkRequest {
SetBssid {
payload: SupplicantStaNetworkSetBssidRequest,
control_handle: SupplicantStaNetworkControlHandle,
},
ClearBssid {
control_handle: SupplicantStaNetworkControlHandle,
},
SetSsid {
payload: SupplicantStaNetworkSetSsidRequest,
control_handle: SupplicantStaNetworkControlHandle,
},
SetPskPassphrase {
payload: SupplicantStaNetworkSetPskPassphraseRequest,
control_handle: SupplicantStaNetworkControlHandle,
},
Select {
responder: SupplicantStaNetworkSelectResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: SupplicantStaNetworkControlHandle,
method_type: MethodType,
},
}
Variants§
SetBssid
Fields
§
payload: SupplicantStaNetworkSetBssidRequest
§
control_handle: SupplicantStaNetworkControlHandle
ClearBssid
Fields
§
control_handle: SupplicantStaNetworkControlHandle
SetSsid
Fields
§
payload: SupplicantStaNetworkSetSsidRequest
§
control_handle: SupplicantStaNetworkControlHandle
SetPskPassphrase
Fields
§
control_handle: SupplicantStaNetworkControlHandle
Select
Fields
§
responder: SupplicantStaNetworkSelectResponder
_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: SupplicantStaNetworkControlHandle
§
method_type: MethodType
Implementations§
Source§impl SupplicantStaNetworkRequest
impl SupplicantStaNetworkRequest
pub fn into_set_bssid( self, ) -> Option<(SupplicantStaNetworkSetBssidRequest, SupplicantStaNetworkControlHandle)>
pub fn into_clear_bssid(self) -> Option<SupplicantStaNetworkControlHandle>
pub fn into_set_ssid( self, ) -> Option<(SupplicantStaNetworkSetSsidRequest, SupplicantStaNetworkControlHandle)>
pub fn into_set_psk_passphrase( self, ) -> Option<(SupplicantStaNetworkSetPskPassphraseRequest, SupplicantStaNetworkControlHandle)>
pub fn into_select(self) -> Option<SupplicantStaNetworkSelectResponder>
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 SupplicantStaNetworkRequest
impl !RefUnwindSafe for SupplicantStaNetworkRequest
impl Send for SupplicantStaNetworkRequest
impl Sync for SupplicantStaNetworkRequest
impl Unpin for SupplicantStaNetworkRequest
impl !UnwindSafe for SupplicantStaNetworkRequest
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