#[repr(C)]pub struct BootRecordVolumeDescriptor {
pub header: VolumeDescriptorHeader,
pub boot_system_identifier: [u8; 32],
pub unused0: [u8; 32],
pub catalog_ptr: U32<LittleEndian>,
pub unused1: [u8; 1973],
}Available on crate feature
sync only.Expand description
Boot Record Volume Descriptor (ECMA-119 8.2), locating the El Torito boot catalog.
@hadris-spec ECMA-119:8.2 @hadris-compliance partial @hadris-note The descriptor locates El Torito data, but all ECMA-119 boot-record semantics are not implemented. @hadris-tests xorriso_boot::test_hadris_multisection_boot_catalog @hadris-fuzz iso_read
Fields§
§header: VolumeDescriptorHeaderThe header field.
boot_system_identifier: [u8; 32]The boot_system_identifier field.
unused0: [u8; 32]The unused0 field.
catalog_ptr: U32<LittleEndian>The catalog_ptr field.
unused1: [u8; 1973]The unused1 field.
Implementations§
Trait Implementations§
Source§impl Clone for BootRecordVolumeDescriptor
impl Clone for BootRecordVolumeDescriptor
Source§fn clone(&self) -> BootRecordVolumeDescriptor
fn clone(&self) -> BootRecordVolumeDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootRecordVolumeDescriptor
Source§impl Debug for BootRecordVolumeDescriptor
impl Debug for BootRecordVolumeDescriptor
impl Pod for BootRecordVolumeDescriptor
Auto Trait Implementations§
impl Freeze for BootRecordVolumeDescriptor
impl RefUnwindSafe for BootRecordVolumeDescriptor
impl Send for BootRecordVolumeDescriptor
impl Sync for BootRecordVolumeDescriptor
impl Unpin for BootRecordVolumeDescriptor
impl UnsafeUnpin for BootRecordVolumeDescriptor
impl UnwindSafe for BootRecordVolumeDescriptor
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.