[−][src]Struct pagecache::PagePtr
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]
impl<'g, P> PagePtr<'g, P> where
P: 'static + Send,
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> Send for PagePtr<'g, P> where
P: Send,
impl<'g, P> Sync for PagePtr<'g, P> where
P: Send + Sync,
[src]
impl<'g, P> Sync for PagePtr<'g, P> where
P: Send + Sync,
impl<'g, P: PartialEq> PartialEq<PagePtr<'g, P>> for PagePtr<'g, P> where
P: 'static + Send,
[src]
impl<'g, P: PartialEq> PartialEq<PagePtr<'g, P>> for PagePtr<'g, P> where
P: 'static + Send,
impl<'g, P: Clone> Clone for PagePtr<'g, P> where
P: 'static + Send,
[src]
impl<'g, P: Clone> Clone for PagePtr<'g, P> where
P: 'static + Send,
fn clone(&self) -> PagePtr<'g, P> | [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]
impl<'g, P: Debug> Debug for PagePtr<'g, P> where
P: 'static + Send,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |