[][src]Enum ena::sql::Database

pub enum Database {
    PostgreSQL,
    TimescaleDB,
    MySQL,
    InnoDB,
    TokuDB,
}

List of acceptable databases

Variants

PostgreSQL
TimescaleDB
MySQL
InnoDB
TokuDB

Implementations

impl Database[src]

pub fn base(&self) -> Database[src]

pub fn mysql_engine(&self) -> Database[src]

Trait Implementations

impl Clone for Database[src]

impl Copy for Database[src]

impl Debug for Database[src]

impl<'de> Deserialize<'de> for Database[src]

impl Display for Database[src]

impl Eq for Database[src]

impl Hash for Database[src]

impl Into<Database> for String[src]

Implement Into. Help taken from this blog archive

impl IntoEnumIterator for Database[src]

type Iterator = DatabaseEnumIterator

Type of the iterator over the variants.

impl PartialEq<Database> for Database[src]

impl Serialize for Database[src]

impl StructuralEq for Database[src]

impl StructuralPartialEq for Database[src]

Auto Trait Implementations

impl RefUnwindSafe for Database

impl Send for Database

impl Sync for Database

impl Unpin for Database

impl UnwindSafe for Database

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,