#[repr(C)]pub struct BootSectionEntry {
pub boot_indicator: u8,
pub boot_media_type: u8,
pub load_segment: U16<LittleEndian>,
pub system_type: u8,
pub reserved0: u8,
pub sector_count: U16<LittleEndian>,
pub load_rba: U32<LittleEndian>,
pub selection_criteria: u8,
pub vendor_unique: [u8; 19],
}Available on crate feature
sync only.Expand description
El Torito section/initial entry: the bootable image reference and its emulation media type.
@hadris-spec El-Torito:section-entry @hadris-compliance partial @hadris-note The catalog entry is modeled and interoperability-tested, but the audit has not established clause-complete validation. @hadris-tests iso::boot::test_floppy_emulation_media_type_and_default_load_size @hadris-fuzz iso_read
Fields§
§boot_indicator: u80x88 = Bootable, 0x00 = Not bootable
boot_media_type: u8The boot_media_type field.
load_segment: U16<LittleEndian>The load_segment field.
system_type: u8The system_type field.
reserved0: u8The reserved0 field.
sector_count: U16<LittleEndian>The sector_count field.
load_rba: U32<LittleEndian>The load_rba field.
selection_criteria: u8The selection_criteria field.
vendor_unique: [u8; 19]The vendor_unique field.
Implementations§
Trait Implementations§
Source§impl Clone for BootSectionEntry
impl Clone for BootSectionEntry
impl Copy for BootSectionEntry
Source§impl Debug for BootSectionEntry
impl Debug for BootSectionEntry
impl Pod for BootSectionEntry
Auto Trait Implementations§
impl Freeze for BootSectionEntry
impl RefUnwindSafe for BootSectionEntry
impl Send for BootSectionEntry
impl Sync for BootSectionEntry
impl Unpin for BootSectionEntry
impl UnsafeUnpin for BootSectionEntry
impl UnwindSafe for BootSectionEntry
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.