Skip to main content

PdevExt

Trait PdevExt 

Source
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§

Source

fn connect_to_pdev(&self) -> Result<DeviceProxy, DriverError>

Connects to the platform device (“pdev”) in the incoming namespace.

Implementations on Foreign Types§

Source§

impl PdevExt for DriverContext

Implementors§