pub fn identity<'a, E: ParserError<&'a [u8]> + AddContext<&'a [u8], StrContext>>(
i: &mut &'a [u8]
) -> PResult<IdentityRef<'a>, E>
Expand description
Parse an identity from the bytes input i
(like name <email>
) using nom
.
pub fn identity<'a, E: ParserError<&'a [u8]> + AddContext<&'a [u8], StrContext>>(
i: &mut &'a [u8]
) -> PResult<IdentityRef<'a>, E>
Parse an identity from the bytes input i
(like name <email>
) using nom
.