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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".