pub enum TruncateWalStatus {
Done,
Busy,
}Expand description
Typed outcome of Engine::truncate_wal. Done matches SQLite’s
busy = 0 return from PRAGMA wal_checkpoint(TRUNCATE); any other
value surfaces as Busy.
Variants§
Trait Implementations§
Source§impl Clone for TruncateWalStatus
impl Clone for TruncateWalStatus
Source§fn clone(&self) -> TruncateWalStatus
fn clone(&self) -> TruncateWalStatus
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 TruncateWalStatus
impl Debug for TruncateWalStatus
Source§impl PartialEq for TruncateWalStatus
impl PartialEq for TruncateWalStatus
Source§fn eq(&self, other: &TruncateWalStatus) -> bool
fn eq(&self, other: &TruncateWalStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TruncateWalStatus
impl Eq for TruncateWalStatus
impl StructuralPartialEq for TruncateWalStatus
Auto Trait Implementations§
impl Freeze for TruncateWalStatus
impl RefUnwindSafe for TruncateWalStatus
impl Send for TruncateWalStatus
impl Sync for TruncateWalStatus
impl Unpin for TruncateWalStatus
impl UnsafeUnpin for TruncateWalStatus
impl UnwindSafe for TruncateWalStatus
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