pub trait SpecimenFile {
    const MAGIC: &'static [&'static [u8]];

    // Required method
    fn type_name(&self) -> &'static str;
}

Required Associated Constants§

source

const MAGIC: &'static [&'static [u8]]

Required Methods§

source

fn type_name(&self) -> &'static str

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> SpecimenFile for Office95<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for PDF<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for Rtf<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for Elf<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for FatMacho<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for Macho<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for EXE<'a>

source§

const MAGIC: &'static [&'static [u8]] = _

source§

impl<'a> SpecimenFile for Pef<'a>

source§

const MAGIC: &'static [&'static [u8]] = _