pub trait SystemPowerModeConfigTestExt {
// Required methods
fn new() -> Self;
fn add_client_config(
self,
client_type: ClientType,
config: ClientConfig,
) -> Self;
}
Expand description
A trait that adds useful test-only methods to the SystemPowerModeConfig
struct.
This trait and its methods are not marked cfg(test)
so that they may be used outside of this
crate.
Required Methods§
fn new() -> Self
fn add_client_config( self, client_type: ClientType, config: ClientConfig, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.