[][src]Struct libfsntfs_rs::file_entry::FileEntry

#[repr(C)]
pub struct FileEntry<'a>(_, _);

Methods

impl<'a> FileEntry<'a>[src]

pub fn wrap_ptr(volume: &'a Volume, ptr: FileEntryRefMut) -> Self[src]

impl<'a> FileEntry<'a>[src]

pub fn get_access_time(&self) -> Option<DateTime<Utc>>[src]

Returns the access date and time.

pub fn get_size(&self) -> Result<u64, Error>[src]

pub fn get_alternate_data_stream(&self, alternate_data_stream_index: isize)[src]

Retrieves a specific alternate data stream.

pub fn get_alternate_data_stream_by_name(&self, name: isize)[src]

Retrieves an alternate data stream specified by the name.

pub fn iter_attributes(&self) -> Result<IterAttributes, Error>[src]

pub fn iter_sub_entries<'c>(&'c self) -> Result<IterSubEntries<'a, 'c>, Error>[src]

pub fn get_number_of_attributes(&self) -> Result<c_int, Error>[src]

pub fn get_attribute_by_index(
    &self,
    attribute_index: i32
) -> Result<Attribute, Error>
[src]

pub fn get_name(&self) -> Result<String, Error>[src]

pub fn get_sub_file_entry(
    &self,
    sub_file_entry_index: i32
) -> Result<FileEntry<'a>, Error>
[src]

pub fn get_number_of_sub_file_entries(&self) -> Result<c_int, Error>[src]

pub fn get_parent_file_reference(&self) -> Result<u64, Error>[src]

pub fn get_file_reference(&self) -> Result<u64, Error>[src]

pub fn get_base_record_file_reference(&self)[src]

pub fn get_creation_time(&self)[src]

pub fn get_creation_time_as_integer(&self)[src]

pub fn get_entry_modification_time(&self)[src]

pub fn get_entry_modification_time_as_integer(&self)[src]

pub fn get_extent(&self, extent_index: isize)[src]

pub fn get_file_attribute_flags(&self)[src]

pub fn get_journal_sequence_number(&self)[src]

pub fn get_modification_time(&self)[src]

pub fn get_modification_time_as_integer(&self)[src]

pub fn get_name_attribute_index(&self)[src]

pub fn get_name_by_attribute_index(&self, attribute_index: isize)[src]

pub fn get_number_of_alternate_data_streams(&self)[src]

pub fn get_number_of_extents(&self)[src]

pub fn get_parent_file_reference_by_attribute_index(
    &self,
    attribute_index: isize
)
[src]

pub fn get_reparse_point_print_name(&self)[src]

pub fn get_reparse_point_substitute_name(&self)[src]

pub fn get_security_descriptor_data(&self)[src]

pub fn has_alternate_data_stream_by_name(&self, name: isize)[src]

pub fn has_default_data_stream(&self)[src]

pub fn has_directory_entries_index(&self)[src]

pub fn is_empty(&self)[src]

Trait Implementations

impl<'a> Drop for FileEntry<'a>[src]

impl<'a> Debug for FileEntry<'a>[src]

impl<'a> Seek for FileEntry<'a>[src]

default fn stream_len(&mut self) -> Result<u64, Error>[src]

🔬 This is a nightly-only experimental API. (seek_convenience)

Returns the length of this stream (in bytes). Read more

default fn stream_position(&mut self) -> Result<u64, Error>[src]

🔬 This is a nightly-only experimental API. (seek_convenience)

Returns the current seek position from the start of the stream. Read more

impl<'a> Read for FileEntry<'a>[src]

default fn read_vectored(
    &mut self,
    bufs: &mut [IoVecMut]
) -> Result<usize, Error>
[src]

🔬 This is a nightly-only experimental API. (iovec)

Like read, except that it reads into a slice of buffers. Read more

unsafe default fn initializer(&self) -> Initializer[src]

🔬 This is a nightly-only experimental API. (read_initializer)

Determines if this Reader can work with buffers of uninitialized memory. Read more

default fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>
1.0.0
[src]

Read all bytes until EOF in this source, placing them into buf. Read more

default fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0
[src]

Read all bytes until EOF in this source, appending them to buf. Read more

default fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
1.6.0
[src]

Read the exact number of bytes required to fill buf. Read more

default fn by_ref(&mut self) -> &mut Self
1.0.0
[src]

Creates a "by reference" adaptor for this instance of Read. Read more

default fn bytes(self) -> Bytes<Self>
1.0.0
[src]

Transforms this Read instance to an [Iterator] over its bytes. Read more

default fn chain<R>(self, next: R) -> Chain<Self, R> where
    R: Read
1.0.0
[src]

Creates an adaptor which will chain this stream with another. Read more

default fn take(self, limit: u64) -> Take<Self>
1.0.0
[src]

Creates an adaptor which will read at most limit bytes from it. Read more

impl<'a> AsTypeRef for FileEntry<'a>[src]

type Ref = FileEntryRef

type RefMut = FileEntryRefMut

Auto Trait Implementations

impl<'a> !Send for FileEntry<'a>

impl<'a> !Sync for FileEntry<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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.