pub enum PhyRequest {
GetSupportedMacRoles {
responder: PhyGetSupportedMacRolesResponder,
},
CreateIface {
req: CreateIfaceRequest,
responder: PhyCreateIfaceResponder,
},
DestroyIface {
req: DestroyIfaceRequest,
responder: PhyDestroyIfaceResponder,
},
SetCountry {
req: CountryCode,
responder: PhySetCountryResponder,
},
GetCountry {
responder: PhyGetCountryResponder,
},
ClearCountry {
responder: PhyClearCountryResponder,
},
SetPowerSaveMode {
req: PowerSaveType,
responder: PhySetPowerSaveModeResponder,
},
GetPowerSaveMode {
responder: PhyGetPowerSaveModeResponder,
},
}
Variants§
GetSupportedMacRoles
Fields
§
responder: PhyGetSupportedMacRolesResponder
CreateIface
DestroyIface
SetCountry
GetCountry
Fields
§
responder: PhyGetCountryResponder
ClearCountry
Fields
§
responder: PhyClearCountryResponder
SetPowerSaveMode
GetPowerSaveMode
Fields
§
responder: PhyGetPowerSaveModeResponder
Implementations§
Source§impl PhyRequest
impl PhyRequest
pub fn into_get_supported_mac_roles( self, ) -> Option<PhyGetSupportedMacRolesResponder>
pub fn into_create_iface( self, ) -> Option<(CreateIfaceRequest, PhyCreateIfaceResponder)>
pub fn into_destroy_iface( self, ) -> Option<(DestroyIfaceRequest, PhyDestroyIfaceResponder)>
pub fn into_set_country(self) -> Option<(CountryCode, PhySetCountryResponder)>
pub fn into_get_country(self) -> Option<PhyGetCountryResponder>
pub fn into_clear_country(self) -> Option<PhyClearCountryResponder>
pub fn into_set_power_save_mode( self, ) -> Option<(PowerSaveType, PhySetPowerSaveModeResponder)>
pub fn into_get_power_save_mode(self) -> Option<PhyGetPowerSaveModeResponder>
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 PhyRequest
impl !RefUnwindSafe for PhyRequest
impl Send for PhyRequest
impl Sync for PhyRequest
impl Unpin for PhyRequest
impl !UnwindSafe for PhyRequest
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