pub struct IsoEntry<'a> { /* private fields */ }Available on crate feature
iso9660 only.Expand description
ISO 9660 file/directory entry.
Implementations§
Source§impl IsoEntry<'_>
impl IsoEntry<'_>
Sourcepub fn filename_raw(&self) -> Result<&str, IsoInvalidEntryError>
pub fn filename_raw(&self) -> Result<&str, IsoInvalidEntryError>
Returns the raw filename of the entry.
See Self::filename()
Sourcepub fn filename(&self) -> Result<String, IsoInvalidEntryError>
pub fn filename(&self) -> Result<String, IsoInvalidEntryError>
Returns the entry’s filename.
Sourcepub fn total_size(&self) -> u64
pub fn total_size(&self) -> u64
Returns Multi-extent aware file size, in bytes.
Sourcepub fn timestamp(&self) -> Result<OffsetDateTime, IsoInvalidEntryError>
pub fn timestamp(&self) -> Result<OffsetDateTime, IsoInvalidEntryError>
Returns the timestamp on the entry.
Sourcepub fn reader(&self) -> IsoEntryReader<'_> ⓘ
pub fn reader(&self) -> IsoEntryReader<'_> ⓘ
Returns a type that implements io::Read, for reading an ISO 9660 entry.
Source§impl IsoEntry<'_>
impl IsoEntry<'_>
Sourcepub fn rock_ridge(&self) -> Option<RockRidgeAttributes>
pub fn rock_ridge(&self) -> Option<RockRidgeAttributes>
Returns the Rock Ridge attributes of the entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for IsoEntry<'a>
impl<'a> !Sync for IsoEntry<'a>
impl<'a> Freeze for IsoEntry<'a>
impl<'a> RefUnwindSafe for IsoEntry<'a>
impl<'a> Unpin for IsoEntry<'a>
impl<'a> UnsafeUnpin for IsoEntry<'a>
impl<'a> UnwindSafe for IsoEntry<'a>
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