pub enum FiberState {
Pending,
Loading,
Active,
Paused,
Suspended,
Unloading,
Disposed,
Failed(String),
}Expand description
Lifecycle states of a Cordis Fiber: the five canonical states (Pending, Loading, Active, Unloading, Disposed) plus Rust extensions (Paused, Suspended, Failed) — see cordis-spatiotemporal doc §2.3.1.
Variants§
Pending
Waiting for declared coeffect dependencies to be satisfied.
Loading
Dependencies satisfied; mounting plugins and initializing effects.
Active
Active, fully verified, and ready to serve tasks/transitions.
Paused
Temporarily paused for Hot Module Replacement (HMR) or inspection.
Suspended
Suspended awaiting a delimited continuation or external input.
Unloading
In the process of executing DisposableList in LIFO order.
Disposed
Cleanly terminated with zero residual state and zero leaked resources.
Failed(String)
Transition or invariant evaluation failed; quarantined.
Trait Implementations§
Source§impl Clone for FiberState
impl Clone for FiberState
Source§impl Debug for FiberState
impl Debug for FiberState
impl Eq for FiberState
Source§impl PartialEq for FiberState
impl PartialEq for FiberState
impl StructuralPartialEq for FiberState
Auto Trait Implementations§
impl Forget for FiberState
impl Freeze for FiberState
impl RefUnwindSafe for FiberState
impl Send for FiberState
impl Sync for FiberState
impl Unpin for FiberState
impl UnsafeUnpin for FiberState
impl UnwindSafe for FiberState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.