Trait multiboot2_header::Tag

source ·
pub trait Tag: MaybeDynSized {
    type IDType: PartialEq + Eq;

    const ID: Self::IDType;
}
Expand description

Extension of MaybeDynSized for Tags.

Required Associated Types§

source

type IDType: PartialEq + Eq

The ID type that identifies the tag.

Required Associated Constants§

source

const ID: Self::IDType

The ID of this tag. This should be unique across all implementors.

Although the ID is not yet used in multiboot2-common, it ensures a consistent API in consumer crates.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Tag for BootLoaderNameTag

§

type IDType = TagType

source§

const ID: TagType = TagType::BootLoaderName

source§

impl Tag for CommandLineTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Cmdline

source§

impl Tag for EFIBootServicesNotExitedTag

§

type IDType = TagType

source§

const ID: TagType = TagType::EfiBs

source§

impl Tag for EFIImageHandle32Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::Efi32Ih

source§

impl Tag for EFIImageHandle64Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::Efi64Ih

source§

impl Tag for EFISdt32Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::Efi32

source§

impl Tag for EFISdt64Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::Efi64

source§

impl Tag for ElfSectionsTag

§

type IDType = TagType

source§

const ID: TagType = TagType::ElfSections

source§

impl Tag for EndTag

§

type IDType = TagType

source§

const ID: TagType = TagType::End

source§

impl Tag for FramebufferTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Framebuffer

source§

impl Tag for ImageLoadPhysAddrTag

§

type IDType = TagType

source§

const ID: TagType = TagType::LoadBaseAddr

source§

impl Tag for BasicMemoryInfoTag

§

type IDType = TagType

source§

const ID: TagType = TagType::BasicMeminfo

source§

impl Tag for EFIMemoryMapTag

§

type IDType = TagType

source§

const ID: TagType = TagType::EfiMmap

source§

impl Tag for MemoryMapTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Mmap

source§

impl Tag for ModuleTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Module

source§

impl Tag for RsdpV1Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::AcpiV1

source§

impl Tag for RsdpV2Tag

§

type IDType = TagType

source§

const ID: TagType = TagType::AcpiV2

source§

impl Tag for SmbiosTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Smbios

source§

impl Tag for VBEInfoTag

§

type IDType = TagType

source§

const ID: TagType = TagType::Vbe

Implementors§

source§

impl Tag for DummyDstTag

§

type IDType = u32

source§

const ID: <DummyDstTag as Tag>::IDType = {transmute(0x0000002a): <multiboot2_common::test_utils::DummyDstTag as multiboot2_common::Tag>::IDType}

source§

impl Tag for AddressHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::Address

source§

impl Tag for ConsoleHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::ConsoleFlags

source§

impl Tag for EfiBootServiceHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::EfiBS

source§

impl Tag for EndHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::End

source§

impl Tag for EntryAddressHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::EntryAddress

source§

impl Tag for EntryEfi32HeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::EntryAddressEFI32

source§

impl Tag for EntryEfi64HeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::EntryAddressEFI64

source§

impl Tag for FramebufferHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::Framebuffer

source§

impl Tag for InformationRequestHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::InformationRequest

source§

impl Tag for ModuleAlignHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::ModuleAlign

source§

impl Tag for RelocatableHeaderTag

§

type IDType = HeaderTagType

source§

const ID: HeaderTagType = HeaderTagType::Relocatable