pub enum ConfigOverrideRequest {
SetStructuredConfig {
moniker: String,
fields: Vec<ConfigOverride>,
responder: ConfigOverrideSetStructuredConfigResponder,
},
UnsetStructuredConfig {
moniker: String,
responder: ConfigOverrideUnsetStructuredConfigResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: ConfigOverrideControlHandle,
method_type: MethodType,
},
}
Expand description
Manages structured configuration override values for components.
Variants§
SetStructuredConfig
Sets structured configuration fields with override values for the component instance identified by moniker.
UnsetStructuredConfig
Unsets structured configuration overrides for the component instance identified by moniker. If an empty moniker is supplied, then all structured configuration overrides will be cleared.
_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: ConfigOverrideControlHandle
§
method_type: MethodType
Implementations§
Source§impl ConfigOverrideRequest
impl ConfigOverrideRequest
pub fn into_set_structured_config( self, ) -> Option<(String, Vec<ConfigOverride>, ConfigOverrideSetStructuredConfigResponder)>
pub fn into_unset_structured_config( self, ) -> Option<(String, ConfigOverrideUnsetStructuredConfigResponder)>
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 ConfigOverrideRequest
impl !RefUnwindSafe for ConfigOverrideRequest
impl Send for ConfigOverrideRequest
impl Sync for ConfigOverrideRequest
impl Unpin for ConfigOverrideRequest
impl !UnwindSafe for ConfigOverrideRequest
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