Trait rpm::Tag

source ·
pub trait Tag:
    FromPrimitive
    + PartialEq
    + Display
    + Debug
    + Copy {
    // Required methods
    fn tag_type_name() -> &'static str;
    fn to_u32(&self) -> u32;
}
Expand description

Header tag.

Each and every header has a particular header tag that identifies the type of the header the format / information contained in that header.

Required Methods§

source

fn tag_type_name() -> &'static str

source

fn to_u32(&self) -> u32

Object Safety§

This trait is not object safe.

Implementors§