Struct zbox::DirEntry[][src]

pub struct DirEntry { /* fields omitted */ }
Expand description

Entries returned by the read_dir function.

An instance of DirEntry represents an entry inside of a directory in the repository. Each entry can be inspected via methods to learn about the absolute path or other metadata.

Implementations

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

Returns the bare file name of this directory entry without any other leading path component.

Return the metadata for the file that this entry points at.

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.