template <typename Payload, uint32_t Type, uint32_t Extra = 0>

class SingleOptionalItem

Defined at line 79 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

This defines a simple item with a payload stored directly in this object.

Public Methods

size_t size_bytes ()

Defined at line 83 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

SingleOptionalItem<Payload, Type, Extra> & set_payload (const Payload & payload)

Defined at line 85 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

SingleOptionalItem<Payload, Type, Extra> & set_payload ()

Defined at line 90 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 95 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 95 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 95 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 95 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

std::optional<Payload> & payload ()

Defined at line 105 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

const std::optional<Payload> & payload ()

Defined at line 106 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h