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
Object Safety§
This trait is not object safe.