pub trait Transaction: Queries + 'static {
// Required methods
fn commit(self) -> impl Future<Output = DbResult<()>> + Send;
fn rollback(self) -> impl Future<Output = DbResult<()>> + Send;
}Required Methods§
fn commit(self) -> impl Future<Output = DbResult<()>> + Send
fn rollback(self) -> impl Future<Output = DbResult<()>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".