pub struct FileContent<T: CacheManager> {
    pub size: u32,
    pub clus_list: Vec<u32>,
    pub file_cache_mgr: T,
    pub hint: u32,
}

Fields

size: u32

For FAT32, size is a value computed from FAT. You should iterate around the FAT32 to get the size.

clus_list: Vec<u32>

The cluster list.

file_cache_mgr: T

File cache manager corresponding to this inode.

hint: u32

If this file is a directory, hint will record the position of last directory entry(the first byte is 0x00).

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.