pub enum PageErrorKind {
NotFound(u64),
Corrupted(u64),
BufferPoolFull,
InvalidSize,
}Expand description
Page-specific error kinds
Variants§
NotFound(u64)
Page not found
Corrupted(u64)
Page corrupted
BufferPoolFull
Buffer pool full
InvalidSize
Invalid page size
Trait Implementations§
Source§impl Clone for PageErrorKind
impl Clone for PageErrorKind
Source§fn clone(&self) -> PageErrorKind
fn clone(&self) -> PageErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageErrorKind
impl Debug for PageErrorKind
Source§impl Display for PageErrorKind
impl Display for PageErrorKind
impl Eq for PageErrorKind
Source§impl PartialEq for PageErrorKind
impl PartialEq for PageErrorKind
Source§fn eq(&self, other: &PageErrorKind) -> bool
fn eq(&self, other: &PageErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PageErrorKind
Auto Trait Implementations§
impl Freeze for PageErrorKind
impl RefUnwindSafe for PageErrorKind
impl Send for PageErrorKind
impl Sync for PageErrorKind
impl Unpin for PageErrorKind
impl UnsafeUnpin for PageErrorKind
impl UnwindSafe for PageErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.