Skip to main content

PoolConnectionStatus

Trait PoolConnectionStatus 

Source
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§

Source

fn is_next_connected(&mut self) -> bool

Source

fn all_connected(&mut self) -> bool

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§