pub struct ExtFileEntry { /* private fields */ }Expand description
Extended File System (ext) file entry.
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(&self) -> Option<&u16>
pub fn get_device_identifier(&self) -> Option<&u16>
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_inode_number(&self) -> u32
pub fn get_inode_number(&self) -> u32
Retrieves the inode number.
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_data_stream(
&mut self,
) -> Result<Option<DataStreamReference>, ErrorTrace>
pub fn get_data_stream( &mut self, ) -> Result<Option<DataStreamReference>, ErrorTrace>
Retrieves the default data stream.
Sourcepub fn get_extended_attribute_by_name(
&mut self,
extended_attribute_name: &PathComponent,
) -> Result<Option<ExtExtendedAttribute>, ErrorTrace>
pub fn get_extended_attribute_by_name( &mut self, extended_attribute_name: &PathComponent, ) -> Result<Option<ExtExtendedAttribute>, ErrorTrace>
Retrieves a specific extended attribute.
Sourcepub fn extended_attributes(
&mut self,
) -> ExtendedAttributesIterator<'_, ExtFileEntry> ⓘ
pub fn extended_attributes( &mut self, ) -> ExtendedAttributesIterator<'_, ExtFileEntry> ⓘ
Retrieves an extended attributes iterator.
Sourcepub fn sub_file_entries(&mut self) -> FileEntriesIterator<'_, ExtFileEntry> ⓘ
pub fn sub_file_entries(&mut self) -> FileEntriesIterator<'_, ExtFileEntry> ⓘ
Retrieves a sub file entries iterator.
Sourcepub fn get_sub_file_entry_by_name(
&mut self,
sub_file_entry_name: &PathComponent,
) -> Result<Option<Self>, ErrorTrace>
pub fn get_sub_file_entry_by_name( &mut self, sub_file_entry_name: &PathComponent, ) -> Result<Option<Self>, ErrorTrace>
Retrieves a specific sub file entry.
Sourcepub fn is_directory(&self) -> bool
pub fn is_directory(&self) -> bool
Determines if the file entry is a directory.
Sourcepub fn is_root_directory(&self) -> bool
pub fn is_root_directory(&self) -> bool
Determines if the file entry is the root directory.
Trait Implementations§
Source§impl ExtendedAttributeIterator for ExtFileEntry
impl ExtendedAttributeIterator for ExtFileEntry
Source§fn get_number_of_extended_attributes(&mut self) -> Result<usize, ErrorTrace>
fn get_number_of_extended_attributes(&mut self) -> Result<usize, ErrorTrace>
Retrieves the number of extended attributes.
Source§fn get_extended_attribute_by_index(
&mut self,
extended_attribute_index: usize,
) -> Result<Self::ExtendedAttributeItem, ErrorTrace>
fn get_extended_attribute_by_index( &mut self, extended_attribute_index: usize, ) -> Result<Self::ExtendedAttributeItem, ErrorTrace>
Retrieves a specific extended attribute.
Source§type ExtendedAttributeItem = ExtExtendedAttribute
type ExtendedAttributeItem = ExtExtendedAttribute
Source§impl FileEntryIterator for ExtFileEntry
impl FileEntryIterator for ExtFileEntry
Source§fn get_number_of_sub_file_entries(&mut self) -> Result<usize, ErrorTrace>
fn get_number_of_sub_file_entries(&mut self) -> Result<usize, ErrorTrace>
Retrieves the number of sub file entries.
Source§fn get_sub_file_entry_by_index(
&mut self,
sub_file_entry_index: usize,
) -> Result<Self, ErrorTrace>
fn get_sub_file_entry_by_index( &mut self, sub_file_entry_index: usize, ) -> Result<Self, ErrorTrace>
Retrieves a specific sub file entry.