pub enum PoolState {
Initializing,
Ready,
WarmingUp,
Draining,
Closed,
}Expand description
State of a tenant pool.
Variants§
Initializing
Pool is initializing.
Ready
Pool is ready for connections.
WarmingUp
Pool is warming up.
Draining
Pool is draining connections.
Closed
Pool is closed.
Trait Implementations§
impl Copy for PoolState
impl Eq for PoolState
impl StructuralPartialEq for PoolState
Auto Trait Implementations§
impl Freeze for PoolState
impl RefUnwindSafe for PoolState
impl Send for PoolState
impl Sync for PoolState
impl Unpin for PoolState
impl UnwindSafe for PoolState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more