Skip to main content

Module detect

Module detect 

Source
Expand description

Lightweight, non-destructive block-format detection. Lightweight block-format detection.

Detection examines boot metadata and restores the stream’s original position. It does not validate an entire filesystem or partition table; callers should open the corresponding concrete crate to perform full validation.

Modules§

async
Asynchronous block-format detection.
sync
Synchronous block-format detection.

Enums§

BlockFormat
A recognized block-storage layout.
FatVariant
FAT family identified from its BIOS parameter block.
PartitionTableKind
Partition-table family identified from sector-zero and GPT metadata.

Functions§

detect_sector
Probe a 512-byte logical sector without performing I/O.