Get

Trait Get 

Source
pub trait Get<P, T> {
    // Required method
    fn get(&'static self, path: P) -> T;
}
Expand description

A trait modeling type compatibility.

A type bound C: Get<P, T> means the data at path P from config C is compatible with and can be converted into T.

This trait is not meant to be custom implemented; all implementations are induced from config!() macro.

Required Methods§

Source

fn get(&'static self, path: P) -> T

Implementors§