pub struct ExtFileSystem { /* private fields */ }Expand description
Extended File System (ext).
Implementations§
Source§impl ExtFileSystem
impl ExtFileSystem
Sourcepub fn get_block_size(&self) -> u32
pub fn get_block_size(&self) -> u32
Retrieves the block size.
Sourcepub fn get_compatible_feature_flags(&self) -> u32
pub fn get_compatible_feature_flags(&self) -> u32
Retrieves the compatible feature flags.
Sourcepub fn get_format_version(&self) -> u8
pub fn get_format_version(&self) -> u8
Retrieves the format version.
Sourcepub fn get_incompatible_feature_flags(&self) -> u32
pub fn get_incompatible_feature_flags(&self) -> u32
Retrieves the incompatible feature flags.
Sourcepub fn get_inode_size(&self) -> u16
pub fn get_inode_size(&self) -> u16
Retrieves the inode size.
Sourcepub fn get_last_mount_path(&self) -> Option<&ByteString>
pub fn get_last_mount_path(&self) -> Option<&ByteString>
Retrieves the last mount path.
Sourcepub fn get_last_mount_time(&self) -> &DateTime
pub fn get_last_mount_time(&self) -> &DateTime
Retrieves the last mount time.
Sourcepub fn get_last_written_time(&self) -> &DateTime
pub fn get_last_written_time(&self) -> &DateTime
Retrieves the last written time.
Sourcepub fn get_number_of_inodes(&self) -> u32
pub fn get_number_of_inodes(&self) -> u32
Retrieves the number of inodes.
Sourcepub fn get_read_only_compatible_feature_flags(&self) -> u32
pub fn get_read_only_compatible_feature_flags(&self) -> u32
Retrieves the read-only compatible feature flags.
Sourcepub fn get_volume_label(&self) -> Option<&ByteString>
pub fn get_volume_label(&self) -> Option<&ByteString>
Retrieves the volume label.
Sourcepub fn get_file_entry_by_identifier(
&self,
inode_number: u32,
) -> Result<ExtFileEntry, ErrorTrace>
pub fn get_file_entry_by_identifier( &self, inode_number: u32, ) -> Result<ExtFileEntry, ErrorTrace>
Retrieves the file entry for a specific identifier (inode number).
Sourcepub fn get_file_entry_by_path(
&self,
path: &Path,
) -> Result<Option<ExtFileEntry>, ErrorTrace>
pub fn get_file_entry_by_path( &self, path: &Path, ) -> Result<Option<ExtFileEntry>, ErrorTrace>
Retrieves the file entry for a specific path.
Sourcepub fn get_root_directory(&self) -> Result<Option<ExtFileEntry>, ErrorTrace>
pub fn get_root_directory(&self) -> Result<Option<ExtFileEntry>, ErrorTrace>
Retrieves the root directory (file entry).
Sourcepub fn read_data_stream(
&mut self,
data_stream: &DataStreamReference,
) -> Result<(), ErrorTrace>
pub fn read_data_stream( &mut self, data_stream: &DataStreamReference, ) -> Result<(), ErrorTrace>
Reads a file system from a data stream.
Sourcepub fn set_character_encoding(
&mut self,
character_encoding: &CharacterEncoding,
) -> Result<(), ErrorTrace>
pub fn set_character_encoding( &mut self, character_encoding: &CharacterEncoding, ) -> Result<(), ErrorTrace>
Sets the character encoding.
Auto Trait Implementations§
impl Forget for ExtFileSystem
impl Freeze for ExtFileSystem
impl Move for ExtFileSystem
impl RefUnwindSafe for ExtFileSystem
impl Send for ExtFileSystem
impl Sync for ExtFileSystem
impl Unpin for ExtFileSystem
impl UnsafeUnpin for ExtFileSystem
impl UnwindSafe for ExtFileSystem
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