Skip to main content

UdfState

Struct UdfState 

Source
pub struct UdfState {
    pub partition_start: u32,
    pub root_fe_lba: u32,
    pub partition_kind: UdfPartitionKind,
    pub partition_map_count: u32,
    pub block_size: u32,
    pub fsd_lba: u32,
    pub vds_loc: u32,
    pub vds_len_sectors: u32,
}

Fields§

§partition_start: u32§root_fe_lba: u32§partition_kind: UdfPartitionKind§partition_map_count: u32§block_size: u32

The medium’s logical block size in bytes (512, 1024, 2048, or 4096), detected from the Anchor Volume Descriptor Pointer location rather than assumed — optical UDF is 2048-byte, but hard-disk media is 512-byte.

§fsd_lba: u32

Physical LBA of the File Set Descriptor (partition_start + its logical block). The findings analyzer reads its recording time and validates its descriptor tag.

§vds_loc: u32

Logical sector where the Volume Descriptor Sequence begins (from the AVDP). The findings analyzer re-walks the VDS to validate each descriptor’s tag.

§vds_len_sectors: u32

Length of the Volume Descriptor Sequence in whole logical blocks.

Trait Implementations§

Source§

impl Debug for UdfState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.