pub struct PageCacheManager {
    cache_pool: Vec<Weak<Mutex<PageCache>>>,
}

Fields

cache_pool: Vec<Weak<Mutex<PageCache>>>

Trait Implementations

The constant to mark the cache size.

Constructor to the struct.

Try to get the block cache and return None if not found. Read more

Attempt to get block cache from the cache. If failed, the manager should try to copy the block from sdcard. 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.