pub trait PayloadFromBytes<'a>: Sized {
// Required method
fn read(
params: impl Iterator<Item = FromBytesResult<&'a [u8]>>,
) -> Result<Self, PayloadFromBytesError>;
}
Required Methods§
fn read( params: impl Iterator<Item = FromBytesResult<&'a [u8]>>, ) -> Result<Self, PayloadFromBytesError>
Object Safety§
This trait is not object safe.