pub enum VfsFileSystem {
Show 13 variants
Apm(ApmFileSystem),
Ext(ExtFileSystem),
Ewf(EwfFileSystem),
Fake(FakeFileSystem),
Gpt(GptFileSystem),
Mbr(MbrFileSystem),
Ntfs(NtfsFileSystem),
Os,
Qcow(QcowFileSystem),
SparseImage(SparseImageFileSystem),
Udif(UdifFileSystem),
Vhd(VhdFileSystem),
Vhdx(VhdxFileSystem),
}Expand description
Virtual File System (VFS) file system.
Variants§
Apm(ApmFileSystem)
Ext(ExtFileSystem)
Ewf(EwfFileSystem)
Fake(FakeFileSystem)
Gpt(GptFileSystem)
Mbr(MbrFileSystem)
Ntfs(NtfsFileSystem)
Os
Qcow(QcowFileSystem)
SparseImage(SparseImageFileSystem)
Udif(UdifFileSystem)
Vhd(VhdFileSystem)
Vhdx(VhdxFileSystem)
Implementations§
Source§impl VfsFileSystem
impl VfsFileSystem
Sourcepub fn file_entry_exists(&self, vfs_path: &VfsPath) -> Result<bool, ErrorTrace>
pub fn file_entry_exists(&self, vfs_path: &VfsPath) -> Result<bool, ErrorTrace>
Determines if the file entry with the specified path exists.
Sourcepub fn get_data_stream_by_path_and_name(
&self,
vfs_path: &VfsPath,
name: Option<&str>,
) -> Result<Option<DataStreamReference>, ErrorTrace>
pub fn get_data_stream_by_path_and_name( &self, vfs_path: &VfsPath, name: Option<&str>, ) -> Result<Option<DataStreamReference>, ErrorTrace>
Retrieves a data stream with the specified path and name.
Sourcepub fn get_file_entry_by_path(
&self,
vfs_path: &VfsPath,
) -> Result<Option<VfsFileEntry>, ErrorTrace>
pub fn get_file_entry_by_path( &self, vfs_path: &VfsPath, ) -> Result<Option<VfsFileEntry>, ErrorTrace>
Retrieves a file entry with the specified path.
Sourcepub fn get_root_file_entry(&self) -> Result<Option<VfsFileEntry>, ErrorTrace>
pub fn get_root_file_entry(&self) -> Result<Option<VfsFileEntry>, ErrorTrace>
Retrieves the root file entry.
Auto Trait Implementations§
impl Freeze for VfsFileSystem
impl RefUnwindSafe for VfsFileSystem
impl Send for VfsFileSystem
impl Sync for VfsFileSystem
impl Unpin for VfsFileSystem
impl UnwindSafe for VfsFileSystem
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