gix_actor::signature::decode

Function identity

Source
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.