Skip to main content

AnyEncode

Trait AnyEncode 

Source
pub trait AnyEncode<'q>:
    Encode<'q, Postgres>
    + Type<Postgres>
    + Encode<'q, MySql>
    + Type<MySql>
    + Encode<'q, Mssql>
    + Type<Mssql>
    + Encode<'q, Sqlite>
    + Type<Sqlite>
    + Encode<'q, Odbc>
    + Type<Odbc>
    + Send { }
Available on crate feature any and (crate features mssql or mysql or odbc or postgres or sqlite) only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'q, T> AnyEncode<'q> for T
where T: Encode<'q, Postgres> + Type<Postgres> + Encode<'q, MySql> + Type<MySql> + Encode<'q, Mssql> + Type<Mssql> + Encode<'q, Sqlite> + Type<Sqlite> + Encode<'q, Odbc> + Type<Odbc> + Send,