pub trait Readwhere
Self: Sized,{
// Required method
fn from_bytes(
data: &mut (impl ExactSizeIterator<Item = u8> + Clone)
) -> Result<Self, ParserError>;
}Expand description
A trait for reading a non fixed amount of data.
Required Methods§
fn from_bytes( data: &mut (impl ExactSizeIterator<Item = u8> + Clone) ) -> Result<Self, ParserError>
Object Safety§
This trait is not object safe.