pub enum AutoVacuum {
None,
Full,
Incremental,
}Expand description
The auto-vacuum
setting set by Sqlite::auto_vacuum.
Variants§
None
Never shrink the database file automatically.
Full
Shrink the database file at every commit.
Incremental
Shrink the database file only on PRAGMA incremental_vacuum.
Trait Implementations§
Source§impl Clone for AutoVacuum
impl Clone for AutoVacuum
Source§fn clone(&self) -> AutoVacuum
fn clone(&self) -> AutoVacuum
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 moreimpl Copy for AutoVacuum
Source§impl Debug for AutoVacuum
impl Debug for AutoVacuum
impl Eq for AutoVacuum
Source§impl From<AutoVacuum> for Cow<'static, str>
impl From<AutoVacuum> for Cow<'static, str>
Source§fn from(auto_vacuum: AutoVacuum) -> Self
fn from(auto_vacuum: AutoVacuum) -> Self
Converts to this type from the input type.
Source§impl Hash for AutoVacuum
impl Hash for AutoVacuum
Source§impl PartialEq for AutoVacuum
impl PartialEq for AutoVacuum
Source§fn eq(&self, other: &AutoVacuum) -> bool
fn eq(&self, other: &AutoVacuum) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutoVacuum
Auto Trait Implementations§
impl Freeze for AutoVacuum
impl RefUnwindSafe for AutoVacuum
impl Send for AutoVacuum
impl Sync for AutoVacuum
impl Unpin for AutoVacuum
impl UnsafeUnpin for AutoVacuum
impl UnwindSafe for AutoVacuum
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.