pub enum PoolNextAction {
WarmPool,
Ready {
available: usize,
},
Exhausted {
acquired: usize,
},
AllIdle {
available: usize,
},
}Expand description
Recommended next action for pool management
Variants§
WarmPool
No pool exists yet
Ready
Worktrees available, some acquired
Exhausted
All worktrees in use
AllIdle
All worktrees available, no work in progress
Trait Implementations§
Source§impl Clone for PoolNextAction
impl Clone for PoolNextAction
Source§fn clone(&self) -> PoolNextAction
fn clone(&self) -> PoolNextAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoolNextAction
impl Debug for PoolNextAction
Source§impl PartialEq for PoolNextAction
impl PartialEq for PoolNextAction
impl Eq for PoolNextAction
impl StructuralPartialEq for PoolNextAction
Auto Trait Implementations§
impl Freeze for PoolNextAction
impl RefUnwindSafe for PoolNextAction
impl Send for PoolNextAction
impl Sync for PoolNextAction
impl Unpin for PoolNextAction
impl UnsafeUnpin for PoolNextAction
impl UnwindSafe for PoolNextAction
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