pub enum OpenTabCmd<T: CacheManager, F: CacheManager> {
    InsertFile(Arc<Inode<T, F>>),
    GetFileByInode(u64),
    DropFileByInode(u64),
    ChInode(u64u64),
}
Expand description

The functionality of ClusLi & Inode can be merged. The struct for file information

Variants

InsertFile(Arc<Inode<T, F>>)

GetFileByInode(u64)

DropFileByInode(u64)

ChInode(u64u64)

The former is the previous ino and the latter is the new.

Implementations

Returns true if the file or inode is Inode.

Returns true if the file or inode is File.

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.