pub trait GpioExt {
// Required method
fn connect_to_gpio(
&self,
instance: &str,
) -> Result<Client<Gpio>, DriverError>;
}Expand description
Extension trait for DriverContext to simplify connecting to GPIO resources.
Required Methods§
Sourcefn connect_to_gpio(&self, instance: &str) -> Result<Client<Gpio>, DriverError>
fn connect_to_gpio(&self, instance: &str) -> Result<Client<Gpio>, DriverError>
Connects to a GPIO resource with the given instance name.