pub enum DeviceInstanceRequest {
GetDevice {
device: ServerEnd<DeviceMarker>,
control_handle: DeviceInstanceControlHandle,
},
}
Expand description
An instance of a network device exposed on devfs.
Variants§
GetDevice
Connects to the [Device
] implementation.
- request
device
device handle.
Implementations§
source§impl DeviceInstanceRequest
impl DeviceInstanceRequest
pub fn into_get_device( self ) -> Option<(ServerEnd<DeviceMarker>, DeviceInstanceControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL