pub type DecodedBytes<'i> = &'i [u8];
Expand description
Type alias for decoded bytes.
Trait Implementations§
Source§impl<'i> SmlParse<'i, &'i [u8]> for DecodedBytes<'i>
impl<'i> SmlParse<'i, &'i [u8]> for DecodedBytes<'i>
Source§type Error = Infallible
type Error = Infallible
The error produced if parsing fails or the input contained an error.
Source§impl<'i, ReadErr> SmlParse<'i, Result<&'i [u8], ReadDecodedError<ReadErr>>> for DecodedBytes<'i>where
ReadErr: Debug,
impl<'i, ReadErr> SmlParse<'i, Result<&'i [u8], ReadDecodedError<ReadErr>>> for DecodedBytes<'i>where
ReadErr: Debug,
Source§type Error = ReadDecodedError<ReadErr>
type Error = ReadDecodedError<ReadErr>
The error produced if parsing fails or the input contained an error.
Source§fn parse_from(
value: Result<&'i [u8], ReadDecodedError<ReadErr>>,
) -> Result<Self, Self::Error>
fn parse_from( value: Result<&'i [u8], ReadDecodedError<ReadErr>>, ) -> Result<Self, Self::Error>
Takes the result of decoding and parses it into the resulting type.