pub struct IsoImage<DATA: Seek> { /* private fields */ }alloc and sync only.Expand description
A struct representing an open ISO9660 Image
This struct is interior mutable.
Implementations§
Source§impl<DATA: Seek> IsoImage<DATA>
impl<DATA: Seek> IsoImage<DATA>
Sourcepub fn into_inner(self) -> DATA
pub fn into_inner(self) -> DATA
Consumes the image handle and returns its underlying data source.
Source§impl<DATA: Read + Seek> IsoImage<DATA>
impl<DATA: Read + Seek> IsoImage<DATA>
Sourcepub fn read_bytes_at(&self, byte_offset: u64, buf: &mut [u8]) -> Result<()>
pub fn read_bytes_at(&self, byte_offset: u64, buf: &mut [u8]) -> Result<()>
Read raw bytes from an absolute byte position in the image.
Sourcepub fn find_path(&self, path: &str) -> Result<Option<DirEntry>>
pub fn find_path(&self, path: &str) -> Result<Option<DirEntry>>
Finds an entry by a slash- or backslash-delimited path.
Leading and repeated separators and . components are ignored. The
root itself has no directory entry, so an empty or root-only path
returns None. Parent (..) components are rejected.
Source§impl<DATA: Read + Seek> IsoImage<DATA>
impl<DATA: Read + Seek> IsoImage<DATA>
Sourcepub fn supports_rrip(&self) -> bool
pub fn supports_rrip(&self) -> bool
Returns whether RRIP (Rock Ridge) extensions were detected in the image.
Sourcepub fn has_evd(&self) -> bool
pub fn has_evd(&self) -> bool
Returns whether an ISO 9660:1999 Enhanced Volume Descriptor was found.
Sourcepub fn open_dir(&self, dir_ref: DirectoryRef) -> IsoDir<'_, DATA>
pub fn open_dir(&self, dir_ref: DirectoryRef) -> IsoDir<'_, DATA>
Open a directory by its DirectoryRef, enabling navigation into subdirectories.
Sourcepub fn path_table(&self) -> PathTableInfo
pub fn path_table(&self) -> PathTableInfo
Returns the path table information for this image.
Sourcepub fn read_volume_descriptors(&self) -> VolumeDescriptorIter<'_, DATA> ⓘ
pub fn read_volume_descriptors(&self) -> VolumeDescriptorIter<'_, DATA> ⓘ
Creates a volume-descriptor cursor starting at logical sector 16.
Async callers use VolumeDescriptorIter::next_descriptor. In sync
builds the cursor also implements Iterator.
Sourcepub fn path_table_entries(&self) -> &[PathTableEntry]
pub fn path_table_entries(&self) -> &[PathTableEntry]
Returns the cached path table entries, parsed once during open().
Each entry contains a directory name, its LBA, and its parent index, enabling fast directory hierarchy traversal without repeated seeks.