Trait argonaut::OptionTarget [] [src]

pub trait OptionTarget: Debug {
    fn parse(&mut self, value: &str) -> Result<(), String>;
}

Allows every type that is FromStr to be read from an argument.

Required Methods

Parses the value and updates self with it.

Implementations on Foreign Types

impl<T> OptionTarget for Option<T> where
    T: Debug + FromStr
[src]

[src]

Implementors