Struct diesel::mysql::MysqlConnection[][src]

pub struct MysqlConnection { /* fields omitted */ }

A connection to a MySQL database. Connection URLs should be in the form mysql://[user[:password]@]host/database_name

Trait Implementations

impl Connection for MysqlConnection[src]

type Backend = Mysql

The backend this type connects to

type TransactionManager = AnsiTransactionManager

impl MigrationConnection for MysqlConnection[src]

impl R2D2Connection for MysqlConnection[src]

impl SimpleConnection for MysqlConnection[src]

impl<Changes, Output> UpdateAndFetchResults<Changes, Output> for MysqlConnection where
    Changes: Copy + Identifiable,
    Changes: AsChangeset<Target = <Changes as HasTable>::Table> + IntoUpdateTarget,
    Changes::Table: FindDsl<Changes::Id>,
    Update<Changes, Changes>: ExecuteDsl<MysqlConnection>,
    Find<Changes::Table, Changes::Id>: LoadQuery<MysqlConnection, Output>,
    <Changes::Table as Table>::AllColumns: ValidGrouping<()>,
    <<Changes::Table as Table>::AllColumns as ValidGrouping<()>>::IsAggregate: MixedAggregates<No, Output = No>, 

impl Send for MysqlConnection[src]

Auto Trait Implementations

impl RefUnwindSafe for MysqlConnection

impl !Sync for MysqlConnection

impl Unpin for MysqlConnection

impl UnwindSafe for MysqlConnection

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoSql for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,