[][src]Trait preftool::bind::Options

pub trait Options {
    fn bind_config<C: Configuration>(&mut self, config: &C) -> Result<()>;
fn validate(&self) -> Result<()>; fn bind<C: Configuration>(&mut self, config: &C) -> Result<()> { ... } }

A type which can be bound by configuration.

Required methods

fn bind_config<C: Configuration>(&mut self, config: &C) -> Result<()>

Bind values from configuration - normally not called directly.

fn validate(&self) -> Result<()>

Validate current instance after binding.

Loading content...

Provided methods

fn bind<C: Configuration>(&mut self, config: &C) -> Result<()>

Bind and validate configuration.

Loading content...

Implementations on Foreign Types

impl Options for String[src]

fn bind<C: Configuration>(&mut self, config: &C) -> Result<()>[src]

Loading content...

Implementors

Loading content...