[][src]Trait stdbench::config::FromYaml

pub trait FromYaml where
    Self: Sized
{ fn from_yaml(yaml: &Yaml) -> Result<Self, Error>; fn from_yaml_at_key(yaml: &Yaml, key: &str) -> Result<Self, Error> { ... } }

Implementors are able to parse YAML into their own type.

Required methods

fn from_yaml(yaml: &Yaml) -> Result<Self, Error>

Parse YAML to Self.

Loading content...

Provided methods

fn from_yaml_at_key(yaml: &Yaml, key: &str) -> Result<Self, Error>

Parse a property value at a given key.

Loading content...

Implementations on Foreign Types

impl FromYaml for String[src]

impl FromYaml for PathBuf[src]

impl FromYaml for i64[src]

impl<T> FromYaml for Vec<T> where
    T: FromYaml
[src]

impl FromYaml for Box<dyn CollectionType>[src]

impl FromYaml for Box<dyn PisaSource>[src]

Loading content...

Implementors

impl FromYaml for Collection[src]

impl FromYaml for Config[src]

impl FromYaml for Encoding[src]

Loading content...