#[repr(C)]pub enum PoolState {
Running = 0,
Stopping = 1,
Stopped = 2,
}Expand description
Enums used to describe pool state
Variants§
Running = 0
The pool is running.
Stopping = 1
The pool is stopping.
Stopped = 2
The pool is stopped.
Trait Implementations§
impl Copy for PoolState
impl Eq for PoolState
Source§impl Ord for PoolState
impl Ord for PoolState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PoolState
impl PartialOrd 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 UnsafeUnpin 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