referrerpolicy=no-referrer-when-downgrade

Trait WithConfigValue

pub trait WithConfigValue: Sized + InspectStrategy {
    // Required method
    fn with_config_value(value: Self::Value) -> ConfigValue<Self>;
}
Expand description

This trait converts the given InspectStrategy into the config value to be used in the WithConfig strategy.

Required Methods§

fn with_config_value(value: Self::Value) -> ConfigValue<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.

Implementors§

§

impl<T> WithConfigValue for T
where T: InspectStrategy,