pub trait PdevExt {
// Required method
fn connect_to_pdev(&self) -> Result<DeviceProxy, DriverError>;
}Expand description
Extension trait for [DriverContext] to simplify connecting to a platform device in a driver’s
start routine.
Required Methods§
Sourcefn connect_to_pdev(&self) -> Result<DeviceProxy, DriverError>
fn connect_to_pdev(&self) -> Result<DeviceProxy, DriverError>
Connects to the platform device (“pdev”) in the incoming namespace.