pub enum DbState {
Open,
Closed,
Invalid,
}Expand description
State of a database handle.
Variants§
Open
Database is open and operational
Closed
Database has been closed
Invalid
Database is in an invalid state
Trait Implementations§
impl Copy for DbState
impl Eq for DbState
impl StructuralPartialEq for DbState
Auto Trait Implementations§
impl Freeze for DbState
impl RefUnwindSafe for DbState
impl Send for DbState
impl Sync for DbState
impl Unpin for DbState
impl UnsafeUnpin for DbState
impl UnwindSafe for DbState
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.