pub struct SharedPagedData {
    pub file: RwLock<CompactFile>,
    pub sp_size: usize,
    pub ep_size: usize,
    pub stash: RwLock<Stash>,
}
Expand description

Allows logical database pages to be shared to allow concurrent readers.

Fields

file: RwLock<CompactFile>
sp_size: usize
ep_size: usize
stash: RwLock<Stash>

Implementations

Construct SharedPageData based on specified underlying storage.

Calculate the maxiumum size of a logical page. This value is stored in the Database struct.

Trim cache.

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.