pub enum ControlRequest {
SetAutomatedNetstackVersion {
version: Option<Box<VersionSetting>>,
responder: ControlSetAutomatedNetstackVersionResponder,
},
SetUserNetstackVersion {
version: Option<Box<VersionSetting>>,
responder: ControlSetUserNetstackVersionResponder,
},
}
Expand description
Provides access to controlling netstack migration configuration.
Variants§
SetAutomatedNetstackVersion
Sets the automated target network stack version.
Takes effect on next boot.
- request
version
requested network stack version. If unset, the automated version preference is cleared.
SetUserNetstackVersion
Sets user selection target network stack version.
Takes effect on next boot.
If set, the user netstack version preference always takes precedence over the automated version selection.
- request
version
requested network stack version. If unset, the user version preference is cleared.
Implementations§
Source§impl ControlRequest
impl ControlRequest
pub fn into_set_automated_netstack_version( self, ) -> Option<(Option<Box<VersionSetting>>, ControlSetAutomatedNetstackVersionResponder)>
pub fn into_set_user_netstack_version( self, ) -> Option<(Option<Box<VersionSetting>>, ControlSetUserNetstackVersionResponder)>
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 ControlRequest
impl !RefUnwindSafe for ControlRequest
impl Send for ControlRequest
impl Sync for ControlRequest
impl Unpin for ControlRequest
impl !UnwindSafe for ControlRequest
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