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> { }
Available on (crate features postgres or mysql or mssql or sqlite) and crate feature any only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

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

Available on crate features postgres and mysql and mssql and sqlite only.