pub enum DriverNotifierRequest {
NewDriverAvailable {
control_handle: DriverNotifierControlHandle,
},
}
Expand description
This is served by the driver manager for the driver index to use to notify it of new drivers that are available on the driver index.
We are making this a separate protocol so that the DriverIndex protocol can be marked as delivery: on_readable. This way no matter what protocol caused the index to wake up, we can send notifications to the driver manager.
Variants§
NewDriverAvailable
One-way method called from the driver index to the driver manager to notify it of new drivers.
Fields
§
control_handle: DriverNotifierControlHandle
Implementations§
Source§impl DriverNotifierRequest
impl DriverNotifierRequest
pub fn into_new_driver_available(self) -> Option<DriverNotifierControlHandle>
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 DriverNotifierRequest
impl !RefUnwindSafe for DriverNotifierRequest
impl Send for DriverNotifierRequest
impl Sync for DriverNotifierRequest
impl Unpin for DriverNotifierRequest
impl !UnwindSafe for DriverNotifierRequest
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