#[non_exhaustive]pub enum SubagentInputPhase {
Queued,
Delivered,
Unknown(String),
}Expand description
subagentInput.inputPhase: the record the item stands for. Open: a client
ignores an item whose phase it does not know.
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.
Queued
The input entered the subagent’s inbox (its queue record).
Delivered
A delivery-visible drain handed the input to the subagent.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the item. Excluded from the generated schema while the enum stays declared open; never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for SubagentInputPhase
impl Clone for SubagentInputPhase
Source§impl Debug for SubagentInputPhase
impl Debug for SubagentInputPhase
Source§impl<'de> Deserialize<'de> for SubagentInputPhase
impl<'de> Deserialize<'de> for SubagentInputPhase
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 SubagentInputPhase
Source§impl PartialEq for SubagentInputPhase
impl PartialEq for SubagentInputPhase
Source§impl Serialize for SubagentInputPhase
impl Serialize for SubagentInputPhase
impl StructuralPartialEq for SubagentInputPhase
Auto Trait Implementations§
impl Forget for SubagentInputPhase
impl Freeze for SubagentInputPhase
impl Move for SubagentInputPhase
impl RefUnwindSafe for SubagentInputPhase
impl Send for SubagentInputPhase
impl Sync for SubagentInputPhase
impl Unpin for SubagentInputPhase
impl UnsafeUnpin for SubagentInputPhase
impl UnwindSafe for SubagentInputPhase
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