DatabaseConnector

Trait DatabaseConnector 

Source
pub trait DatabaseConnector:
    Debug
    + DatabaseExecutor
    + Send
    + Sync {
    type Transaction: DatabaseTransaction<Self>
       where Self: Sized;
}
Expand description

Database connector

Required Associated Types§

Source

type Transaction: DatabaseTransaction<Self> where Self: Sized

Database static trait for the database

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§