pub enum CallerPiState {
Reserved,
Started,
LaunchFailed,
Exited,
ControlUncertain,
}Expand description
A caller attests a Pi lifecycle transition. This is not a worker exit or proof of quiescence: only an external writer-fence protocol can authorize settlement. The event log retains every distinct transition.
Variants§
Reserved
Durable launch attempt, before Pi creates any native file. Never liveness proof.
Started
Caller confirmed Start returned successfully; not continuing liveness proof.
LaunchFailed
Pi launch failed before a writer existed.
Exited
Caller reaped or otherwise proved the exact Pi stopped.
ControlUncertain
Caller cannot prove whether it still controls the writer.
Implementations§
Source§impl CallerPiState
impl CallerPiState
Sourcepub fn needs_attention(&self) -> bool
pub fn needs_attention(&self) -> bool
A told nonterminal condition requiring intervention.
Trait Implementations§
Source§impl Clone for CallerPiState
impl Clone for CallerPiState
Source§impl Debug for CallerPiState
impl Debug for CallerPiState
Source§impl<'de> Deserialize<'de> for CallerPiState
impl<'de> Deserialize<'de> for CallerPiState
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 CallerPiState
Source§impl PartialEq for CallerPiState
impl PartialEq for CallerPiState
Source§impl Serialize for CallerPiState
impl Serialize for CallerPiState
impl StructuralPartialEq for CallerPiState
Auto Trait Implementations§
impl Freeze for CallerPiState
impl RefUnwindSafe for CallerPiState
impl Send for CallerPiState
impl Sync for CallerPiState
impl Unpin for CallerPiState
impl UnsafeUnpin for CallerPiState
impl UnwindSafe for CallerPiState
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