pub enum DatabaseSchemaCompatibility {
Missing,
Current,
SupportedPredecessor,
Incompatible,
Corrupt,
NotInspected,
}Expand description
Compatibility of the selected database with the current runtime.
Variants§
Missing
The database file does not exist yet.
Current
The durable schema matches the current runtime.
SupportedPredecessor
The durable schema is an admitted predecessor with a transactional migration path.
Incompatible
The durable schema or project binding is not admitted by this runtime.
Corrupt
SQLite or its integrity check identified corrupt database state.
NotInspected
Filesystem support could not admit a safe database inspection.
Trait Implementations§
Source§impl Clone for DatabaseSchemaCompatibility
impl Clone for DatabaseSchemaCompatibility
Source§fn clone(&self) -> DatabaseSchemaCompatibility
fn clone(&self) -> DatabaseSchemaCompatibility
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 DatabaseSchemaCompatibility
impl Debug for DatabaseSchemaCompatibility
impl Copy for DatabaseSchemaCompatibility
impl Eq for DatabaseSchemaCompatibility
impl StructuralPartialEq for DatabaseSchemaCompatibility
Auto Trait Implementations§
impl Freeze for DatabaseSchemaCompatibility
impl RefUnwindSafe for DatabaseSchemaCompatibility
impl Send for DatabaseSchemaCompatibility
impl Sync for DatabaseSchemaCompatibility
impl Unpin for DatabaseSchemaCompatibility
impl UnwindSafe for DatabaseSchemaCompatibility
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.§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
Checks if this value is equivalent to the given key. Read more