Skip to main content

rollback

Function rollback 

Source
pub async fn rollback<T: TransactionSession>(txn: T) -> Result<()>
Expand description

Rolls back a transaction and maps errors consistently.