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