#[repr(C)]pub struct BootInfoTable {
pub iso_start: U32<LittleEndian>,
pub file_lba: U32<LittleEndian>,
pub file_len: U32<LittleEndian>,
pub checksum: U32<LittleEndian>,
}Available on crate feature
async only.Expand description
Boot information table (16 bytes)
This table is located in the boot binary and contains information about the ISO image and the boot binary. It is written at offset 8 in the boot image.
Fields§
§iso_start: U32<LittleEndian>The start LBA of the ISO image (This would 16 in most cases)
file_lba: U32<LittleEndian>The start LBA of the boot binary
file_len: U32<LittleEndian>The length of the boot binary (in bytes)
checksum: U32<LittleEndian>The checksum of the boot binary
Trait Implementations§
Source§impl Clone for BootInfoTable
impl Clone for BootInfoTable
impl Copy for BootInfoTable
Source§impl Debug for BootInfoTable
impl Debug for BootInfoTable
impl Pod for BootInfoTable
Auto Trait Implementations§
impl Freeze for BootInfoTable
impl RefUnwindSafe for BootInfoTable
impl Send for BootInfoTable
impl Sync for BootInfoTable
impl Unpin for BootInfoTable
impl UnsafeUnpin for BootInfoTable
impl UnwindSafe for BootInfoTable
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.