Skip to main content

Configurable

Trait Configurable 

Source
pub trait Configurable {
    // Required method
    fn config_prefix(&self) -> &str;
}

Required Methods§

Source

fn config_prefix(&self) -> &str

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§