Struct littlefs::Info

source ·
pub struct Info {
    pub entry_type: EntryType,
    pub size: usize,
    pub name: Filename,
}
Expand description

Definition for filesystem info which is read through directory read calls or file stats.

Fields§

§entry_type: EntryType

Specification of the type of the info either a directory or file.

§size: usize

The size of the entry; only valid for files. TODO this could be rolled into the entry information.

§name: Filename

The textural name of the file / directory.

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

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.