pub trait ExtractField<Tag> {
type Value;
type Remainder;
// Required method
fn extract_field(
self,
_tag: PhantomData<Tag>,
) -> Result<Self::Value, Self::Remainder>;
}pub trait ExtractField<Tag> {
type Value;
type Remainder;
// Required method
fn extract_field(
self,
_tag: PhantomData<Tag>,
) -> Result<Self::Value, Self::Remainder>;
}