#[non_exhaustive]pub enum SubagentControlStatus {
Accepted,
Starting,
Running,
ResultReady,
Closing,
Closed,
RecoveryPending,
ManualReconciliation,
Unknown(String),
}Expand description
Subagent control status. Open; the generic item status is the terminal
authority.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Accepted
Spawn accepted.
Starting
Child starting.
Running
Child running.
ResultReady
Result envelope ready.
Closing
Child closing.
Closed
Child closed.
RecoveryPending
Recovery pending after a restart.
ManualReconciliation
Parked for manual reconciliation.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for SubagentControlStatus
impl Clone for SubagentControlStatus
Source§impl Debug for SubagentControlStatus
impl Debug for SubagentControlStatus
Source§impl<'de> Deserialize<'de> for SubagentControlStatus
impl<'de> Deserialize<'de> for SubagentControlStatus
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SubagentControlStatus
Source§impl PartialEq for SubagentControlStatus
impl PartialEq for SubagentControlStatus
Source§impl Serialize for SubagentControlStatus
impl Serialize for SubagentControlStatus
impl StructuralPartialEq for SubagentControlStatus
Auto Trait Implementations§
impl Forget for SubagentControlStatus
impl Freeze for SubagentControlStatus
impl Move for SubagentControlStatus
impl RefUnwindSafe for SubagentControlStatus
impl Send for SubagentControlStatus
impl Sync for SubagentControlStatus
impl Unpin for SubagentControlStatus
impl UnsafeUnpin for SubagentControlStatus
impl UnwindSafe for SubagentControlStatus
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