Enum Status
#[repr(u8)]pub enum Status {
Ok = 0,
Failed = 1,
Cancelled = 2,
TimedOut = 3,
Terminated = 4,
ContinuedAsNew = 5,
Reset = 6,
}Expand description
How a step, child or workflow ended.
Variants§
Ok = 0
Failed = 1
Cancelled = 2
TimedOut = 3
Terminated = 4
ContinuedAsNew = 5
The run ended by starting a new run of the same workflow ID.
Reset = 6
The run was replaced by a reset.
Implementations§
§impl Status
impl Status
pub fn from_u8(v: u8) -> DecodeResult<Self>
pub fn as_str(self) -> &'static str
pub fn is_handover(self) -> bool
pub fn is_handover(self) -> bool
The run handed over to a newer run of the same workflow ID.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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