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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceInstanceRequest
impl !RefUnwindSafe for DeviceInstanceRequest
impl Send for DeviceInstanceRequest
impl Sync for DeviceInstanceRequest
impl Unpin for DeviceInstanceRequest
impl !UnwindSafe for DeviceInstanceRequest
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