[−][src]Struct libfsntfs_rs::volume::Volume
Methods
impl Volume
[src]
pub fn wrap_ptr(ptr: VolumeRefMut) -> Volume
[src]
impl<'a> Volume
[src]
pub fn open(filename: impl AsRef<str>, mode: AccessMode) -> Result<Self, Error>
[src]
Opens a volume by filename.
pub fn open_file_object(file_handle: &Handle) -> Result<Self, Error>
[src]
pub fn iter_entries(&self) -> Result<IterFileEntries, Error>
[src]
pub fn get_serial_number(&self) -> Result<SerialNumber, Error>
[src]
Retrieves the volume serial number.
pub fn get_file_entry_by_path(
&self,
path: impl AsRef<Path>
) -> Result<FileEntry, Error>
[src]
&self,
path: impl AsRef<Path>
) -> Result<FileEntry, Error>
Retrieves a file entry specified by the path.
pub fn get_file_entry_by_mft_idx(
&self,
idx: MftEntryIndex
) -> Result<FileEntry, Error>
[src]
&self,
idx: MftEntryIndex
) -> Result<FileEntry, Error>
Retrieves a specific file entry.
pub fn get_name(&self) -> Result<String, Error>
[src]
Retrieves the name.
pub fn get_root_directory(&self) -> Result<FileEntry, Error>
[src]
Retrieves the root directory.
pub fn get_number_of_file_entries(&self) -> Result<usize, Error>
[src]
Retrieves the number of file entries.
Trait Implementations
impl Drop for Volume
[src]
impl AsTypeRef for Volume
[src]
type Ref = VolumeRef
type RefMut = VolumeRefMut
fn as_type_ref(&self) -> Self::Ref
[src]
fn as_type_ref_mut(&mut self) -> Self::RefMut
[src]
fn as_raw(&mut self) -> *mut Self::RefMut
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,