pub trait DatabaseConnector:
Debug
+ DatabaseExecutor
+ Send
+ Sync {
type Transaction: DatabaseTransaction<Self>
where Self: Sized;
}Expand description
Database connector
Required Associated Types§
Sourcetype Transaction: DatabaseTransaction<Self>
where
Self: Sized
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".