Skip to main content

Module wire_type

Module wire_type 

Source
Expand description

Canonical wire type values of crate::ThreadEvent.

Consumers that compare recorded event types by string use these consts; producers that emit the name use crate::ThreadEvent::wire_name. Both resolve to the same spellings, which wire_name_matches_serialized_type_tag keeps aligned with the serde tags.

Constants§

APP_SANDBOX_DENIED
CONTEXT_RESET
ERROR
GOAL_UPDATED
INTERJECTED
ITEM_COMPLETED
ITEM_STARTED
ITEM_UPDATED
MATRIX_UPDATED
PERMISSION_REQUESTED
PERMISSION_RESOLVED
PLAN_APPROVAL_REQUESTED
PLAN_APPROVAL_RESOLVED
PLAN_DELTA
THREAD_COMPACT_BOUNDARY
THREAD_COMPLETED
THREAD_STARTED
TRACKER_UPDATED
TURN_BLOCKED
TURN_COMPLETED
TURN_FAILED
TURN_STARTED
UNKNOWN
Unknown is a serde catch-all with no serde rename, so its serialized type tag is the variant name — capital U. Keep this aligned with wire_name_matches_serialized_type_tag.