pub struct ExtFileSystem {
pub number_of_inodes: u32,
pub last_mount_path: ByteString,
pub last_mount_time: DateTime,
pub last_written_time: DateTime,
/* private fields */
}Expand description
Extended File System (ext).
Fields§
§number_of_inodes: u32Number of inodes.
last_mount_path: ByteStringLast mount path.
last_mount_time: DateTimeLast mount time.
last_written_time: DateTimeLast written time.
Implementations§
Source§impl ExtFileSystem
impl ExtFileSystem
Sourcepub fn get_format_version(&self) -> u8
pub fn get_format_version(&self) -> u8
Retrieves the format version.
Sourcepub fn get_compatible_feature_flags(&self) -> u32
pub fn get_compatible_feature_flags(&self) -> u32
Retrieves the compatible feature flags.
Sourcepub fn get_incompatible_feature_flags(&self) -> u32
pub fn get_incompatible_feature_flags(&self) -> u32
Retrieves the incompatible feature flags.
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) -> &ByteString
pub fn get_volume_label(&self) -> &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: &ExtPath,
) -> Result<Option<ExtFileEntry>, ErrorTrace>
pub fn get_file_entry_by_path( &self, path: &ExtPath, ) -> 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.
Auto Trait Implementations§
impl Freeze for ExtFileSystem
impl RefUnwindSafe for ExtFileSystem
impl Send for ExtFileSystem
impl Sync for ExtFileSystem
impl Unpin 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