spring::config

Trait Configurable

source
pub trait Configurable {
    // Required method
    fn config_prefix() -> &'static str;
}

Required Methods§

source

fn config_prefix() -> &'static str

Prefix used to read toml configuration. If you need to load external configuration, you need to rewrite this method

Object Safety§

This trait is not object safe.

Implementors§