nom
pub trait ParseTo<R> { fn parse_to(&self) -> Option<R>; }
abstract method to calculate the input length
fn parse_to(&self) -> Option<R>
impl<'a, R: FromStr> ParseTo<R> for &'a [u8]
impl<'a, R: FromStr> ParseTo<R> for &'a str