pub enum DatabaseStatus {
Pending,
Active,
ActiveChangePending,
ImportPending,
DeletePending,
Recovery,
Error,
}Expand description
Lifecycle status of a database.
Variants§
Pending
Database is being created; not yet ready for connections.
Active
Database is operational.
ActiveChangePending
Database is operational but has pending configuration changes.
ImportPending
Database is being populated from an import source.
DeletePending
Database is queued for deletion.
Recovery
Database is in recovery from a failure.
Error
Database is in an error state.
Trait Implementations§
Source§impl Clone for DatabaseStatus
impl Clone for DatabaseStatus
Source§fn clone(&self) -> DatabaseStatus
fn clone(&self) -> DatabaseStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatabaseStatus
impl Debug for DatabaseStatus
Source§impl<'de> Deserialize<'de> for DatabaseStatus
impl<'de> Deserialize<'de> for DatabaseStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DatabaseStatus
impl RefUnwindSafe for DatabaseStatus
impl Send for DatabaseStatus
impl Sync for DatabaseStatus
impl Unpin for DatabaseStatus
impl UnsafeUnpin for DatabaseStatus
impl UnwindSafe for DatabaseStatus
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