pub trait PoolConnectionStatus {
// Required methods
fn is_next_connected(&mut self) -> bool;
fn all_connected(&mut self) -> bool;
// Provided methods
fn is_next_connected_busywait_timeout(&mut self, timeout: Duration) -> bool { ... }
fn all_connected_busywait_timeout(&mut self, timeout: Duration) -> bool { ... }
}Expand description
Provides methods for testing status of connections in the Pool
Required Methods§
fn is_next_connected(&mut self) -> bool
fn all_connected(&mut self) -> bool
Provided Methods§
fn is_next_connected_busywait_timeout(&mut self, timeout: Duration) -> bool
fn all_connected_busywait_timeout(&mut self, timeout: Duration) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".