pub enum Synchronous {
Off,
Normal,
Full,
Extra,
}Expand description
The synchronous
setting set by Sqlite::synchronous.
Variants§
Off
Hand data to the operating system without syncing.
Normal
Sync at the most critical moments. Durable in WAL mode except across power loss.
Full
Sync before each transaction commits.
Extra
Like Full, and also sync the directory after deleting a rollback
journal.
Trait Implementations§
Source§impl Clone for Synchronous
impl Clone for Synchronous
Source§fn clone(&self) -> Synchronous
fn clone(&self) -> Synchronous
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 Synchronous
Source§impl Debug for Synchronous
impl Debug for Synchronous
impl Eq for Synchronous
Source§impl From<Synchronous> for Cow<'static, str>
impl From<Synchronous> for Cow<'static, str>
Source§fn from(synchronous: Synchronous) -> Self
fn from(synchronous: Synchronous) -> Self
Converts to this type from the input type.
Source§impl Hash for Synchronous
impl Hash for Synchronous
Source§impl PartialEq for Synchronous
impl PartialEq for Synchronous
Source§fn eq(&self, other: &Synchronous) -> bool
fn eq(&self, other: &Synchronous) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Synchronous
Auto Trait Implementations§
impl Freeze for Synchronous
impl RefUnwindSafe for Synchronous
impl Send for Synchronous
impl Sync for Synchronous
impl Unpin for Synchronous
impl UnsafeUnpin for Synchronous
impl UnwindSafe for Synchronous
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.