Struct littlefs2::fs::DirEntry[][src]

pub struct DirEntry { /* fields omitted */ }

Implementations

impl DirEntry[src]

pub fn metadata(&self) -> Metadata[src]

pub fn file_type(&self) -> FileType[src]

pub fn file_name(&self) -> &Path[src]

pub fn path(&self) -> &Path[src]

Returns the full path to the file that this entry represents.

The full path is created by joining the original path to read_dir with the filename of this entry.

Trait Implementations

impl Clone for DirEntry[src]

impl Debug for DirEntry[src]

impl<'de> Deserialize<'de> for DirEntry[src]

impl Eq for DirEntry[src]

impl PartialEq<DirEntry> for DirEntry[src]

impl Serialize for DirEntry[src]

impl StructuralEq for DirEntry[src]

impl StructuralPartialEq for DirEntry[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.