Skip to main content

MysqlLikeBackend

Trait MysqlLikeBackend 

Source
pub trait MysqlLikeBackend
where Self: for<'a> Backend<RawValue<'a> = MysqlValue<'a>, BindCollector<'a> = RawBytesBindCollector<Self>> + TypeMetadata<TypeMetadata = MysqlType, MetadataLookup = ()> + Backend<QueryBuilder = MysqlLikeQueryBuilder<Self>> + Hash + Eq + Default + DieselReserveSpecialization + MapErrorNumber + 'static,
{ }
Available on crate features mariadb_backend or mysql_backend only.
Expand description

A trait for backends which implement the MySQL wire protocol. This is implemented for both MySQL and MariaDB, and can be used when writing code that is compatible with both backends.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl MysqlLikeBackend for Mariadb

Available on crate feature mariadb_backend only.
Source§

impl MysqlLikeBackend for Mysql

Available on crate feature mysql_backend only.