We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04a5e8 commit 1dd760fCopy full SHA for 1dd760f
src/pooled_connection/mod.rs
@@ -257,8 +257,9 @@ pub trait PoolableConnection: AsyncConnection {
257
/// if the connection is considered to be broken or not. See
258
/// [ManageConnection::has_broken] for details.
259
///
260
- /// The default implementation does not consider any connection as broken
261
- fn is_broken(&self) -> bool {
262
- false
+ /// The default implementation uses
+ /// [TransactionManager::is_broken_transaction_manager].
+ fn is_broken(&mut self) -> bool {
263
+ Self::TransactionManager::is_broken_transaction_manager(self)
264
}
265
0 commit comments