Trait parse_result::ParseResult
[−]
[src]
pub trait ParseResult<E> { fn parse<F>(self) -> Result<F, Error<E, F::Err>>
where
F: FromStr; }
Extension trait to add parse
to Result
.
Required Methods
fn parse<F>(self) -> Result<F, Error<E, F::Err>> where
F: FromStr,
F: FromStr,
Parses the Result
into another type if it's not already an Err
value.
See str::parse
for
more information and examples.