pub struct Iso { /* private fields */ }Available on crate feature
iso9660 only.Expand description
An ISO 9660 filesystem instance.
Implementations§
Source§impl Iso
impl Iso
Sourcepub fn have_rock_ridge(
&self,
file_limit: Option<u64>,
) -> Result<bool, RockRidgeSearchError>
pub fn have_rock_ridge( &self, file_limit: Option<u64>, ) -> Result<bool, RockRidgeSearchError>
Checks if any file has Rock Ridge extensions.
This can be time consuming, therefore file_limit can be provided to
limit the number of files to scan.
Source§impl Iso
impl Iso
Sourcepub const BLOCK_SIZE: usize = 2048
pub const BLOCK_SIZE: usize = 2048
The number of bytes used by an ISO 9660 block.
Sourcepub fn new(path: PathBuf) -> Result<Self, IsoOpenError>
pub fn new(path: PathBuf) -> Result<Self, IsoOpenError>
Opens an ISO 9660 image at given path.
Sourcepub fn application(&self) -> Option<String>
pub fn application(&self) -> Option<String>
Returns the Application Identifier.
Sourcepub fn data_preparer(&self) -> Option<String>
pub fn data_preparer(&self) -> Option<String>
Returns the Data Preparer Identifier.
Sourcepub fn volume_set(&self) -> Option<String>
pub fn volume_set(&self) -> Option<String>
Returns the Volume Set Identifier.
Sourcepub fn joliet_level(&self) -> Option<JolietLevel>
pub fn joliet_level(&self) -> Option<JolietLevel>
Returns the Joliet level.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Iso
impl !Sync for Iso
impl Freeze for Iso
impl RefUnwindSafe for Iso
impl Unpin for Iso
impl UnsafeUnpin for Iso
impl UnwindSafe for Iso
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