ExtractField

Trait ExtractField 

Source
pub trait ExtractField<Tag> {
    type Value;
    type Remainder;

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

Required Associated Types§

Required Methods§

Source

fn extract_field( self, _tag: PhantomData<Tag>, ) -> Result<Self::Value, Self::Remainder>

Implementors§