pub enum ConfigurationRequest {
Update {
settings: Settings,
responder: ConfigurationUpdateResponder,
},
}
Expand description
Protocol to configure parameters and features for the core Bluetooth system. These settings apply to all bt-host drivers known to the system.
This protocol should only be exposed to highly privileged components (e.g. Bluetooth developer tools in a testing/qualification environment).
Variants§
Update
Applies the fields present in settings
to all bt-host drivers known to the system. Any
fields not present in settings
will remain unchanged.
- request
settings
The new settings for active bt-host drivers - only modified settings need be present.
- response
result
A fully-populated table with the resultant settings after the new settings are applied.
Implementations§
Source§impl ConfigurationRequest
impl ConfigurationRequest
pub fn into_update(self) -> Option<(Settings, ConfigurationUpdateResponder)>
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 ConfigurationRequest
impl !RefUnwindSafe for ConfigurationRequest
impl Send for ConfigurationRequest
impl Sync for ConfigurationRequest
impl Unpin for ConfigurationRequest
impl !UnwindSafe for ConfigurationRequest
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