pub struct UdfEntry<'a> {
pub gid: u32,
pub uid: u32,
/* private fields */
}Available on crate feature
udf only.Expand description
A UDF file/directory entry.
Fields§
§gid: u32§uid: u32Implementations§
Source§impl UdfEntry<'_>
impl UdfEntry<'_>
Sourcepub fn modify_time(&self) -> Result<OffsetDateTime, UdfInvalidEntryError>
pub fn modify_time(&self) -> Result<OffsetDateTime, UdfInvalidEntryError>
Returns the modification time.
Sourcepub fn filename(&self) -> Result<&str, UdfInvalidEntryError>
pub fn filename(&self) -> Result<&str, UdfInvalidEntryError>
Returns the file name.
Sourcepub fn file_length(&self) -> u64
pub fn file_length(&self) -> u64
Returns the file length.
Sourcepub fn link_count(&self) -> u16
pub fn link_count(&self) -> u16
Returns the number of hard links of the entry.
Sourcepub fn reader(&self) -> UdfEntryReader<'_> ⓘ
pub fn reader(&self) -> UdfEntryReader<'_> ⓘ
Returns a type that implements io::Read to allow for reading the
file data of a UDF entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for UdfEntry<'a>
impl<'a> !Sync for UdfEntry<'a>
impl<'a> Freeze for UdfEntry<'a>
impl<'a> RefUnwindSafe for UdfEntry<'a>
impl<'a> Unpin for UdfEntry<'a>
impl<'a> UnsafeUnpin for UdfEntry<'a>
impl<'a> UnwindSafe for UdfEntry<'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