pub trait TryParsewhere
Self: Sized,{
type Err;
fn try_parse(
iter: &mut impl Iterator<Item = u8>
) -> Result<Self, TryParseError<Self::Err>>;
}
Expand description
Allows a type to be parsed through the try_parse
, parse
, try_scan
and scan
macros.