Enum libsql_sys::wal::CheckpointMode
source · #[repr(i32)]pub enum CheckpointMode {
Passive = 0,
Full = 1,
Restart = 2,
Truncate = 3,
}
Variants§
Trait Implementations§
source§impl Clone for CheckpointMode
impl Clone for CheckpointMode
source§fn clone(&self) -> CheckpointMode
fn clone(&self) -> CheckpointMode
Returns a copy 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 CheckpointMode
impl Debug for CheckpointMode
source§impl Ord for CheckpointMode
impl Ord for CheckpointMode
source§fn cmp(&self, other: &CheckpointMode) -> Ordering
fn cmp(&self, other: &CheckpointMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CheckpointMode
impl PartialEq for CheckpointMode
source§fn eq(&self, other: &CheckpointMode) -> bool
fn eq(&self, other: &CheckpointMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CheckpointMode
impl PartialOrd for CheckpointMode
source§fn partial_cmp(&self, other: &CheckpointMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CheckpointMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CheckpointMode
impl Eq for CheckpointMode
impl StructuralPartialEq for CheckpointMode
Auto Trait Implementations§
impl RefUnwindSafe for CheckpointMode
impl Send for CheckpointMode
impl Sync for CheckpointMode
impl Unpin for CheckpointMode
impl UnwindSafe for CheckpointMode
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