pub trait Executor: Capable { }Expand description
Anything a query can run against: a connection, a pooled connection, a pool, or a transaction.
This is a sealed marker trait, so generic helpers can accept
E: Executor, but queries themselves are only run through the query! /
query_as! macros.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".