pub enum DatasetJobPhase {
Building {
bundles: Progress,
},
Running {
sessions: Option<Progress>,
slots: Option<SlotProgress>,
waiting_for: Option<String>,
},
Completed,
Failed {
reason: String,
},
Cancelled,
}Expand description
Where a job is, tagged by phase on the wire.
Variants§
Building
Building the bundles the range needs.
Running
sessions is absent when they cannot be counted.
Fields
§
slots: Option<SlotProgress>Slots the job’s sessions have replayed, out of the slots they must replay. It drops when a failed session is run again. Absent when the job cannot count them yet.
Completed
Every output is written.
Failed
The job stopped without finishing.
Cancelled
Rows already written stay.
Implementations§
Trait Implementations§
Source§impl Clone for DatasetJobPhase
impl Clone for DatasetJobPhase
Source§impl Debug for DatasetJobPhase
impl Debug for DatasetJobPhase
Source§impl<'de> Deserialize<'de> for DatasetJobPhase
impl<'de> Deserialize<'de> for DatasetJobPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatasetJobPhase
Source§impl PartialEq for DatasetJobPhase
impl PartialEq for DatasetJobPhase
Source§impl Serialize for DatasetJobPhase
impl Serialize for DatasetJobPhase
impl StructuralPartialEq for DatasetJobPhase
Auto Trait Implementations§
impl Forget for DatasetJobPhase
impl Freeze for DatasetJobPhase
impl Move for DatasetJobPhase
impl RefUnwindSafe for DatasetJobPhase
impl Send for DatasetJobPhase
impl Sync for DatasetJobPhase
impl Unpin for DatasetJobPhase
impl UnsafeUnpin for DatasetJobPhase
impl UnwindSafe for DatasetJobPhase
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