[][src]Trait preftool::bind::FromConfig

pub trait FromConfig: Sized {
    fn from_config<C: Configuration>(config: &C) -> Result<Self>;
}

Trait to produce a value from config.

Required methods

fn from_config<C: Configuration>(config: &C) -> Result<Self>

Get an instance of self from a configuration object.

Loading content...

Implementors

impl<T> FromConfig for T where
    T: Options + Default + Sized
[src]

Loading content...