pub enum InstallerRequest {
InstallDevice {
device: ClientEnd<DeviceMarker>,
device_control: ServerEnd<DeviceControlMarker>,
control_handle: InstallerControlHandle,
},
}
Expand description
Installs devices on the network stack.
Variants§
InstallDevice
Installs a device on the network stack.
- request
device
the device to install on the network stack. - request
device_control
grants access to the installed device.
Fields
§
device: ClientEnd<DeviceMarker>
§
device_control: ServerEnd<DeviceControlMarker>
§
control_handle: InstallerControlHandle
Implementations§
Source§impl InstallerRequest
impl InstallerRequest
pub fn into_install_device( self, ) -> Option<(ClientEnd<DeviceMarker>, ServerEnd<DeviceControlMarker>, InstallerControlHandle)>
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 InstallerRequest
impl !RefUnwindSafe for InstallerRequest
impl Send for InstallerRequest
impl Sync for InstallerRequest
impl Unpin for InstallerRequest
impl !UnwindSafe for InstallerRequest
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