pub enum ConfigUserRequest {
IsManagingPower {
responder: ConfigUserIsManagingPowerResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: ConfigUserControlHandle,
method_type: MethodType,
},
}
Expand description
This protocol allows the config client to report whether it is managing power. This provides a minimal way for the client to demonstrate a behavior change that is observable to the test component. A real client’s interactions with the external system will likely change in ways that are considerably more complex.
Variants§
IsManagingPower
Fields
§
responder: ConfigUserIsManagingPowerResponder
_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: ConfigUserControlHandle
§
method_type: MethodType
Implementations§
Source§impl ConfigUserRequest
impl ConfigUserRequest
pub fn into_is_managing_power( self, ) -> Option<ConfigUserIsManagingPowerResponder>
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 ConfigUserRequest
impl !RefUnwindSafe for ConfigUserRequest
impl Send for ConfigUserRequest
impl Sync for ConfigUserRequest
impl Unpin for ConfigUserRequest
impl !UnwindSafe for ConfigUserRequest
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