#[repr(u8)]pub enum WalEntryType {
PageWrite = 1,
Commit = 2,
Checkpoint = 3,
}Expand description
WAL entry type discriminant.
Variants§
Trait Implementations§
Source§impl Clone for WalEntryType
impl Clone for WalEntryType
Source§fn clone(&self) -> WalEntryType
fn clone(&self) -> WalEntryType
Returns a duplicate of the value. Read more
1.0.0 · 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 WalEntryType
impl Debug for WalEntryType
Source§impl PartialEq for WalEntryType
impl PartialEq for WalEntryType
Source§impl TryFrom<u8> for WalEntryType
impl TryFrom<u8> for WalEntryType
Source§type Error = MenteError
type Error = MenteError
The type returned in the event of a conversion error.
Source§fn try_from(v: u8) -> MenteResult<Self>
fn try_from(v: u8) -> MenteResult<Self>
Performs the conversion.
impl Copy for WalEntryType
impl Eq for WalEntryType
impl StructuralPartialEq for WalEntryType
Auto Trait Implementations§
impl Freeze for WalEntryType
impl RefUnwindSafe for WalEntryType
impl Send for WalEntryType
impl Sync for WalEntryType
impl Unpin for WalEntryType
impl UnsafeUnpin for WalEntryType
impl UnwindSafe for WalEntryType
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