Trait FromConfigWithPrefix

Source
pub trait FromConfigWithPrefix: FromConfig {
    // Required method
    fn prefix() -> &'static str;
}
Expand description

Config with prefix. This trait is auto derived by FromConfig.

Required Methods§

Source

fn prefix() -> &'static str

Predefined key of config, so you don’t have to provide it.

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§