#[non_exhaustive]pub struct TurnStartResult {
pub command_id: String,
pub status: CommandStatus,
pub turn_id: String,
pub started_new_turn: bool,
pub disposition: TurnStartDisposition,
pub queued_at_us: Option<u64>,
}Expand description
turn/start result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
turn_id: StringThe turn that will carry (or absorbed) this input. Authoritative: always take it from the ack rather than deriving it.
started_new_turn: booltrue iff disposition is started; retained as the boolean shorthand
— disposition is authoritative.
disposition: TurnStartDispositionWhat happened to the input.
queued_at_us: Option<u64>queued and steered: the queued input record’s recorded_at in Unix
microseconds — the host clock the client’s optimistic row must sort by,
so the row lands where the host’s queue holds it. Present on a fresh
queued or steered admission via the enqueue arm (both append an inbox
record); absent on started, on hosts that predate the member, on
post-restart recovery replays, on the replace and park arms’ Queued
acks, and on unopted connections. A client that sees no member falls
back to its wall clock (today’s behavior).