pub struct PageInfo {
pub current: Option<Data>,
pub history: BTreeMap<u64, Data>,
pub usage: u64,
pub hx: u32,
}Expand description
Information for a page, including historic data.
Fields§
§current: Option<Data>Current data for the page( None implies it is stored in underlying file ).
history: BTreeMap<u64, Data>Historic data for the page. Has data for page at specified time. A copy is made prior to an update, so get looks forward from access time.
usage: u64How many times has the page been used.
hx: u32Heap index.
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnsafeUnpin for PageInfo
impl UnwindSafe for PageInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more