pub enum FlowState {
Ready,
Running,
Waiting,
Sleeping,
Terminated,
Failed,
}Expand description
Where a flow currently sits in its lifecycle.
Metrics/introspection only — the scheduler’s control flow is driven by
where the Flow object physically lives (worker deque, injector,
timer wheel, or parked inside its mailbox).
Variants§
Trait Implementations§
impl Copy for FlowState
impl Eq for FlowState
impl StructuralPartialEq for FlowState
Auto Trait Implementations§
impl Freeze for FlowState
impl RefUnwindSafe for FlowState
impl Send for FlowState
impl Sync for FlowState
impl Unpin for FlowState
impl UnsafeUnpin for FlowState
impl UnwindSafe for FlowState
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