Struct sqlite::OpenFlags [−][src]
Flags for opening a database connection.
Implementations
impl OpenFlags
[src]
pub fn new() -> Self
[src]
Create flags for opening a database connection.
pub fn set_create(self) -> Self
[src]
Create the database if it does not already exist.
pub fn set_full_mutex(self) -> Self
[src]
Open the database in the serialized threading mode.
pub fn set_no_mutex(self) -> Self
[src]
Opens the database in the multi-thread threading mode.
pub fn set_read_only(self) -> Self
[src]
Open the database for reading only.
pub fn set_read_write(self) -> Self
[src]
Open the database for reading and writing.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpenFlags
impl Send for OpenFlags
impl Sync for OpenFlags
impl Unpin for OpenFlags
impl UnwindSafe for OpenFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,