pub enum ControlRequest {
CreateNetwork {
config: Config,
network: ServerEnd<NetworkMarker>,
control_handle: ControlControlHandle,
},
}
Expand description
Provides control over virtualization network configuration.
Variants§
CreateNetwork
Create a new network with configurable upstream connectivity.
The network itself is always guaranteed to be created, but upstream connectivity may not be established initially and may be lost at any time.
- request
config
network configuration. - request
network
provides control over the created network. The protocol will be terminated after emitting a terminal event if the network cannot be added.
Implementations§
Source§impl ControlRequest
impl ControlRequest
pub fn into_create_network( self, ) -> Option<(Config, ServerEnd<NetworkMarker>, ControlControlHandle)>
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