Enum Progress
pub enum Progress {
Running,
Idle,
Expired,
Lost,
}Expand description
Where an invoked worker’s invocation stands
(Remote::invocation_poll).
Variants§
Running
Work goes on: poll again.
Idle
Every held shard is idle and drained: close the engine and leave.
Expired
The budget (less its margin) is over: close the engine and leave; shards with work left are handed back as due now.
Lost
The connection to the server is gone: the lease ended with it.
Implementations§
Trait Implementations§
impl Copy for Progress
impl Eq for Progress
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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