Enum fuchsia_zbi::ZbiType
source · #[repr(u32)]pub enum ZbiType {
Show 16 variants
Container = 1_414_483_778,
Cmdline = 1_279_544_643,
Crashlog = 1_297_043_266,
KernelDriver = 1_448_232_011,
PlatformId = 1_145_654_352,
StorageBootfsFactory = 1_179_862_594,
StorageRamdisk = 1_263_748_178,
ImageArgs = 1_196_573_001,
SerialNumber = 1_313_624_659,
BootloaderFile = 1_279_677_506,
DeviceTree = 3_490_578_157,
CpuTopology = 1_414_484_047,
AcpiRsdp = 1_346_655_058,
Smbios = 1_229_081_939,
DriverMetadata = 109,
Unknown = 110,
}
Expand description
Defines the types supported by the Rust ZBI parser. This is a subset from sdk/lib/zbi-format/include/lib/zbi-format/zbi.h, and should be updated as needed.
Variants§
Container = 1_414_483_778
Cmdline = 1_279_544_643
Crashlog = 1_297_043_266
KernelDriver = 1_448_232_011
PlatformId = 1_145_654_352
StorageBootfsFactory = 1_179_862_594
StorageRamdisk = 1_263_748_178
ImageArgs = 1_196_573_001
SerialNumber = 1_313_624_659
BootloaderFile = 1_279_677_506
DeviceTree = 3_490_578_157
CpuTopology = 1_414_484_047
AcpiRsdp = 1_346_655_058
Smbios = 1_229_081_939
DriverMetadata = 109
Unknown = 110
Implementations§
Trait Implementations§
source§impl PartialEq for ZbiType
impl PartialEq for ZbiType
impl Copy for ZbiType
impl Eq for ZbiType
impl StructuralPartialEq for ZbiType
Auto Trait Implementations§
impl Freeze for ZbiType
impl RefUnwindSafe for ZbiType
impl Send for ZbiType
impl Sync for ZbiType
impl Unpin for ZbiType
impl UnwindSafe for ZbiType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)