[][src]Struct libfsntfs_rs::volume::Volume

#[repr(C)]
pub struct Volume(_);

Methods

impl 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]

Retrieves a file entry specified by the path.

pub fn get_file_entry_by_mft_idx(
    &self,
    idx: MftEntryIndex
) -> Result<FileEntry, Error>
[src]

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

Auto Trait Implementations

impl !Send for Volume

impl !Sync for Volume

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.