Enum sqlite_vfs::OpenAccess
source · [−]pub enum OpenAccess {
Read,
Write,
Create,
CreateNew,
}
Expand description
The access an object is opened with.
Variants
Read
Read access.
Write
Write access (includes read access).
Create
Create the file if it does not exist (includes write and read access).
CreateNew
Create the file, but throw if it it already exist (includes write and read access).
Trait Implementations
sourceimpl Clone for OpenAccess
impl Clone for OpenAccess
sourcefn clone(&self) -> OpenAccess
fn clone(&self) -> OpenAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OpenAccess
impl Debug for OpenAccess
sourceimpl PartialEq<OpenAccess> for OpenAccess
impl PartialEq<OpenAccess> for OpenAccess
impl Copy for OpenAccess
impl StructuralPartialEq for OpenAccess
Auto Trait Implementations
impl RefUnwindSafe for OpenAccess
impl Send for OpenAccess
impl Sync for OpenAccess
impl Unpin for OpenAccess
impl UnwindSafe for OpenAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more