pub struct ExtFileEntry {
pub inode_number: u32,
/* private fields */
}Expand description
Extended File System (ext) file entry.
Fields§
§inode_number: u32The inode number.
Implementations§
Source§impl ExtFileEntry
impl ExtFileEntry
Sourcepub fn get_access_time(&self) -> Option<&DateTime>
pub fn get_access_time(&self) -> Option<&DateTime>
Retrieves the access time.
Sourcepub fn get_change_time(&self) -> Option<&DateTime>
pub fn get_change_time(&self) -> Option<&DateTime>
Retrieves the change time.
Sourcepub fn get_creation_time(&self) -> Option<&DateTime>
pub fn get_creation_time(&self) -> Option<&DateTime>
Retrieves the creation time.
Sourcepub fn get_deletion_time(&self) -> &DateTime
pub fn get_deletion_time(&self) -> &DateTime
Retrieves the deletion time.
Sourcepub fn get_device_identifier(&mut self) -> Result<Option<u16>, ErrorTrace>
pub fn get_device_identifier(&mut self) -> Result<Option<u16>, ErrorTrace>
Retrieves the device identifier.
Sourcepub fn get_file_mode(&self) -> u16
pub fn get_file_mode(&self) -> u16
Retrieves the file mode.
Sourcepub fn get_group_identifier(&self) -> u32
pub fn get_group_identifier(&self) -> u32
Retrieves the group identifier.
Sourcepub fn get_modification_time(&self) -> Option<&DateTime>
pub fn get_modification_time(&self) -> Option<&DateTime>
Retrieves the modification time.
Sourcepub fn get_name(&self) -> Option<&ByteString>
pub fn get_name(&self) -> Option<&ByteString>
Retrieves the name.
Sourcepub fn get_number_of_links(&self) -> u16
pub fn get_number_of_links(&self) -> u16
Retrieves the number of links.
Sourcepub fn get_owner_identifier(&self) -> u32
pub fn get_owner_identifier(&self) -> u32
Retrieves the owner identifier.
Sourcepub fn get_symbolic_link_target(
&mut self,
) -> Result<Option<&ByteString>, ErrorTrace>
pub fn get_symbolic_link_target( &mut self, ) -> Result<Option<&ByteString>, ErrorTrace>
Retrieves the symbolic link target.
Sourcepub fn get_number_of_attributes(&mut self) -> Result<usize, ErrorTrace>
pub fn get_number_of_attributes(&mut self) -> Result<usize, ErrorTrace>
Retrieves the number of attributes.
Sourcepub fn get_data_stream(&self) -> Result<Option<DataStreamReference>, ErrorTrace>
pub fn get_data_stream(&self) -> Result<Option<DataStreamReference>, ErrorTrace>
Retrieves the default data stream.
Sourcepub fn get_number_of_sub_file_entries(&mut self) -> Result<usize, ErrorTrace>
pub fn get_number_of_sub_file_entries(&mut self) -> Result<usize, ErrorTrace>
Retrieves the number of sub file entries.
Sourcepub fn get_sub_file_entry_by_index(
&mut self,
sub_file_entry_index: usize,
) -> Result<ExtFileEntry, ErrorTrace>
pub fn get_sub_file_entry_by_index( &mut self, sub_file_entry_index: usize, ) -> Result<ExtFileEntry, ErrorTrace>
Retrieves a specific sub file entry.
Sourcepub fn get_sub_file_entry_by_name(
&mut self,
sub_file_entry_name: &ByteString,
) -> Result<Option<ExtFileEntry>, ErrorTrace>
pub fn get_sub_file_entry_by_name( &mut self, sub_file_entry_name: &ByteString, ) -> Result<Option<ExtFileEntry>, ErrorTrace>
Retrieves a specific sub file entry.
Sourcepub fn is_root_directory(&self) -> bool
pub fn is_root_directory(&self) -> bool
Determines if the file entry is the root directory.
Auto Trait Implementations§
impl Freeze for ExtFileEntry
impl RefUnwindSafe for ExtFileEntry
impl Send for ExtFileEntry
impl Sync for ExtFileEntry
impl Unpin for ExtFileEntry
impl UnwindSafe for ExtFileEntry
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