Trait zcfg::ConfigParseable
[−]
[src]
pub trait ConfigParseable { type Output; fn parse_from_str(s: &str) -> Result<Self::Output, ParseErr>; }
Any standard type which may be parsed from a string
Associated Types
type Output
Required Methods
fn parse_from_str(s: &str) -> Result<Self::Output, ParseErr>
Implementations on Foreign Types
impl ConfigParseable for String
[src]
impl ConfigParseable for bool
[src]
impl ConfigParseable for u8
[src]
impl ConfigParseable for u32
[src]
impl ConfigParseable for u64
[src]
impl ConfigParseable for i8
[src]
impl ConfigParseable for i32
[src]
impl ConfigParseable for i64
[src]
impl ConfigParseable for f32
[src]
impl ConfigParseable for f64
[src]
impl<T> ConfigParseable for Option<T> where
T: ConfigParseable,
[src]
T: ConfigParseable,
type Output = Option<<T as ConfigParseable>::Output>
fn parse_from_str(s: &str) -> Result<Self::Output, ParseErr>
[src]
impl<T> ConfigParseable for Vec<T> where
T: ConfigParseable,
[src]
T: ConfigParseable,
type Output = Vec<<T as ConfigParseable>::Output>
fn parse_from_str(s: &str) -> Result<Self::Output, ParseErr>
[src]
Implementors
impl<T> ConfigParseable for NoneableCfg<T> where
T: ConfigParseable, type Output = NoneableCfg<<T as ConfigParseable>::Output>;impl<T> ConfigParseable for CommaSeparatedCfgs<T> where
T: ConfigParseable, type Output = CommaSeparatedCfgs<<T as ConfigParseable>::Output>;