pub enum PoolPhase {
Running,
Shutdown,
}Expand description
Pool lifecycle phase for graceful shutdown.
Variants§
Trait Implementations§
impl Copy for PoolPhase
impl Eq for PoolPhase
impl StructuralPartialEq for PoolPhase
Auto Trait Implementations§
impl Freeze for PoolPhase
impl RefUnwindSafe for PoolPhase
impl Send for PoolPhase
impl Sync for PoolPhase
impl Unpin for PoolPhase
impl UnwindSafe for PoolPhase
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