Struct rustdb::pstore::PageInfo[][src]

pub struct PageInfo {
    pub current: Option<Data>,
    pub history: BTreeMap<u64, Data>,
}
Expand description

Cached information about a logical page.

Fields

current: Option<Data>history: BTreeMap<u64, Data>

Implementations

Construct a new PageInfo.

Get the Data for the page, checking history if not a writer. Reads Data from file if necessary.

Set the page data, updating the history using the specified time and current data.

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.