pub enum Decision {
Incomplete,
Again,
Restart,
}
Expand description
What should the pool do next?
Variants
Incomplete
Work is incomplete. Do not stop the worker or switch to a different system. Poll again after some simple management checks.
Again
Poll this worker again, unless worker is stopped as part of rescaling.
Restart
Restart the worker.
Trait Implementations
impl Copy for Decision
impl Eq for Decision
impl StructuralEq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnwindSafe for Decision
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more