pub enum FeatureRequest {
UpdateFeatureConfig {
config: FeatureConfig,
responder: FeatureUpdateFeatureConfigResponder,
},
GetFeatureConfig {
responder: FeatureGetFeatureConfigResponder,
},
}
Expand description
Protocol for fetching and updating the OpenThread feature configuration for a specific LoWPAN interface.
Variants§
UpdateFeatureConfig
Updates the current OpenThread feature configuration for this interface.
Any unset field in config
will leave that field unchanged.
GetFeatureConfig
Returns the current OpenThread feature configuration for this interface.
A unset field in the returned value means that feature is not supported.
Fields
§
responder: FeatureGetFeatureConfigResponder
Implementations§
Source§impl FeatureRequest
impl FeatureRequest
pub fn into_update_feature_config( self, ) -> Option<(FeatureConfig, FeatureUpdateFeatureConfigResponder)>
pub fn into_get_feature_config(self) -> Option<FeatureGetFeatureConfigResponder>
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 FeatureRequest
impl !RefUnwindSafe for FeatureRequest
impl Send for FeatureRequest
impl Sync for FeatureRequest
impl Unpin for FeatureRequest
impl !UnwindSafe for FeatureRequest
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