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§

source

fn new() -> Self

source

fn add_client_config( self, client_type: ClientType, config: ClientConfig ) -> Self

Object Safety§

This trait is not object safe.

Implementors§