Trait Packed
protobuf_iter
pub trait Packed<'a> { type Item; fn parse(_: &'a [u8]) -> Result<(Self::Item, &'a [u8]), ParseError>; }
type Item
fn parse(_: &'a [u8]) -> Result<(Self::Item, &'a [u8]), ParseError>
impl<'a> Packed<'a> for PackedValue32
type Item = Value32<'a>
fn parse(data: &'a [u8]) -> Result<(Value32<'a>, &'a [u8]), ParseError>
impl<'a> Packed<'a> for PackedValue64
type Item = Value64<'a>
fn parse(data: &'a [u8]) -> Result<(Value64<'a>, &'a [u8]), ParseError>
impl<'a> Packed<'a> for PackedVarint
type Item = Varint
fn parse(data: &'a [u8]) -> Result<(Varint, &'a [u8]), ParseError>