pub trait PrefixRead {
type Error;
// Required method
fn prefix_read(
&mut self,
prefix: &[u8],
data: &mut [u8],
) -> Result<(), Self::Error>;
}Expand description
PrefixRead trait provides a higher level, write then read function