Trait mz_dyncfg::ConfigDefault

source ·
pub trait ConfigDefault: Clone {
    type ConfigType: ConfigType;

    // Required method
    fn into_config_type(self) -> Self::ConfigType;
}
Expand description

A trait for a type that can be used as a default for a Config.

Required Associated Types§

Required Methods§

source

fn into_config_type(self) -> Self::ConfigType

Converts into the config type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ConfigDefault for &str

source§

impl<T: ConfigType> ConfigDefault for fn() -> T

Implementors§