pub enum SupplicantStaIfaceRequest {
RegisterCallback {
payload: SupplicantStaIfaceRegisterCallbackRequest,
control_handle: SupplicantStaIfaceControlHandle,
},
AddNetwork {
payload: SupplicantStaIfaceAddNetworkRequest,
control_handle: SupplicantStaIfaceControlHandle,
},
Disconnect {
responder: SupplicantStaIfaceDisconnectResponder,
},
SetPowerSave {
payload: SupplicantStaIfaceSetPowerSaveRequest,
responder: SupplicantStaIfaceSetPowerSaveResponder,
},
SetSuspendModeEnabled {
payload: SupplicantStaIfaceSetSuspendModeEnabledRequest,
responder: SupplicantStaIfaceSetSuspendModeEnabledResponder,
},
SetStaCountryCode {
payload: SupplicantStaIfaceSetStaCountryCodeRequest,
responder: SupplicantStaIfaceSetStaCountryCodeResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: SupplicantStaIfaceControlHandle,
method_type: MethodType,
},
}
Variants§
RegisterCallback
Fields
§
control_handle: SupplicantStaIfaceControlHandle
AddNetwork
Disconnect
Fields
§
responder: SupplicantStaIfaceDisconnectResponder
SetPowerSave
Fields
§
responder: SupplicantStaIfaceSetPowerSaveResponder
SetSuspendModeEnabled
Fields
SetStaCountryCode
Fields
_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: SupplicantStaIfaceControlHandle
§
method_type: MethodType
Implementations§
Source§impl SupplicantStaIfaceRequest
impl SupplicantStaIfaceRequest
pub fn into_register_callback( self, ) -> Option<(SupplicantStaIfaceRegisterCallbackRequest, SupplicantStaIfaceControlHandle)>
pub fn into_add_network( self, ) -> Option<(SupplicantStaIfaceAddNetworkRequest, SupplicantStaIfaceControlHandle)>
pub fn into_disconnect(self) -> Option<SupplicantStaIfaceDisconnectResponder>
pub fn into_set_power_save( self, ) -> Option<(SupplicantStaIfaceSetPowerSaveRequest, SupplicantStaIfaceSetPowerSaveResponder)>
pub fn into_set_suspend_mode_enabled( self, ) -> Option<(SupplicantStaIfaceSetSuspendModeEnabledRequest, SupplicantStaIfaceSetSuspendModeEnabledResponder)>
pub fn into_set_sta_country_code( self, ) -> Option<(SupplicantStaIfaceSetStaCountryCodeRequest, SupplicantStaIfaceSetStaCountryCodeResponder)>
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 SupplicantStaIfaceRequest
impl !RefUnwindSafe for SupplicantStaIfaceRequest
impl Send for SupplicantStaIfaceRequest
impl Sync for SupplicantStaIfaceRequest
impl Unpin for SupplicantStaIfaceRequest
impl !UnwindSafe for SupplicantStaIfaceRequest
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