pub enum NodeState {
Provided {
value: Value,
},
Running {
start: Duration,
},
Done {
duration: Duration,
retries: u32,
value: Value,
},
Retrying {
start: Duration,
retries: u32,
},
Failed {
duration: Duration,
retries: u32,
error: Error,
},
}Expand description
The current state of a single node in a job.
Variants§
Provided
Provided by the user when the job was created.
Running
Currently being executed.
Done
Job has finished successfully.
Fields
Retrying
Failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeState
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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