pub enum Synchronous {
Off,
Normal,
Full,
Extra,
}Expand description
Synchronous modes for SQLite databases
Variants§
Off
Normal
Sync at critical moments - good balance
§Example
assert_eq!(Synchronous::Normal.to_sql().sql(), "NORMAL");Full
Extra
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 · 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 Synchronous
impl Debug for Synchronous
Source§impl PartialEq for Synchronous
impl PartialEq for Synchronous
Source§impl<'a> ToSQL<'a, SQLiteValue<'a>> for Synchronous
impl<'a> ToSQL<'a, SQLiteValue<'a>> for Synchronous
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 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