pub enum UdfPartitionKind {
Physical,
Virtual,
Sparable,
Metadata,
Unknown,
}Expand description
The kind of partition referenced by the UDF logical volume’s file set.
Physical (Type 1) partitions resolve as partition_start + logical_block.
Virtual (VAT), Sparable (defect-managed), and Metadata (UDF 2.50+,
used by Blu-ray) are Type 2 partitions whose block resolution requires
additional structures this crate does not yet follow — they are detected
and reported so a forensic tool fails loudly rather than mis-reading.
Variants§
Physical
Type 1 physical partition.
Virtual
Type 2 *UDF Virtual Partition (VAT-mapped, packet-written media).
Sparable
Type 2 *UDF Sparable Partition (defect management).
Metadata
Type 2 *UDF Metadata Partition (UDF 2.50+, Blu-ray).
Unknown
Type 2 partition with an unrecognised identifier.
Trait Implementations§
Source§impl Clone for UdfPartitionKind
impl Clone for UdfPartitionKind
Source§fn clone(&self) -> UdfPartitionKind
fn clone(&self) -> UdfPartitionKind
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 UdfPartitionKind
Source§impl Debug for UdfPartitionKind
impl Debug for UdfPartitionKind
impl Eq for UdfPartitionKind
Source§impl PartialEq for UdfPartitionKind
impl PartialEq for UdfPartitionKind
Source§fn eq(&self, other: &UdfPartitionKind) -> bool
fn eq(&self, other: &UdfPartitionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UdfPartitionKind
Auto Trait Implementations§
impl Freeze for UdfPartitionKind
impl RefUnwindSafe for UdfPartitionKind
impl Send for UdfPartitionKind
impl Sync for UdfPartitionKind
impl Unpin for UdfPartitionKind
impl UnsafeUnpin for UdfPartitionKind
impl UnwindSafe for UdfPartitionKind
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