pub struct Entry { /* private fields */ }
Expand description

Entry returned by iterating over DirIter iterator

Implementations

Returns the file name of this entry

Returns the simplified type of this entry

Trait Implementations

The return value of the to_path that holds data copied from the original path (if copy is needed, otherwise it’s just a reference) Read more

Returns None when path contains a zero byte

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.