[][src]Struct pagecache::PagePtr

pub struct PagePtr<'g, P>(_)
where
    P: 'static + Send
;

A pointer to shared lock-free state bound by a pinned epoch's lifetime.

Methods

impl<'g, P> PagePtr<'g, P> where
    P: 'static + Send
[src]

pub fn allocated() -> PagePtr<'g, P>
[src]

Create a null PagePtr

pub fn is_allocated(&self) -> bool
[src]

Whether this pointer is Allocated

pub fn last_lsn(&self) -> Lsn
[src]

The last Lsn number for the head of this page

Trait Implementations

impl<'g, P> Send for PagePtr<'g, P> where
    P: Send
[src]

impl<'g, P> Sync for PagePtr<'g, P> where
    P: Send + Sync
[src]

impl<'g, P: PartialEq> PartialEq<PagePtr<'g, P>> for PagePtr<'g, P> where
    P: 'static + Send
[src]

impl<'g, P: Clone> Clone for PagePtr<'g, P> where
    P: 'static + Send
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'g, P: Debug> Debug for PagePtr<'g, P> where
    P: 'static + Send
[src]

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]