#[non_exhaustive]pub enum TurnStartDisposition {
Started,
Queued,
Steered,
Unknown(String),
}Expand description
What turn/start did with the input. Resolves OQ-H in v1: since queue is
the default ifBusy, clients need to distinguish these without folding
history.
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.
Started
A fresh foreground turn began.
Queued
Input parked; its turn — the ack’s turnId — launches at the current
turn’s terminal boundary.
Steered
Absorbed by the running turn.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. 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 TurnStartDisposition
impl Clone for TurnStartDisposition
Source§impl Debug for TurnStartDisposition
impl Debug for TurnStartDisposition
Source§impl<'de> Deserialize<'de> for TurnStartDisposition
impl<'de> Deserialize<'de> for TurnStartDisposition
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 TurnStartDisposition
Source§impl PartialEq for TurnStartDisposition
impl PartialEq for TurnStartDisposition
Source§impl Serialize for TurnStartDisposition
impl Serialize for TurnStartDisposition
impl StructuralPartialEq for TurnStartDisposition
Auto Trait Implementations§
impl Freeze for TurnStartDisposition
impl RefUnwindSafe for TurnStartDisposition
impl Send for TurnStartDisposition
impl Sync for TurnStartDisposition
impl Unpin for TurnStartDisposition
impl UnsafeUnpin for TurnStartDisposition
impl UnwindSafe for TurnStartDisposition
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