Skip to main content

Event

Trait Event 

Source
pub trait Event {
    type Payload: Serialize + TS + 'static;

    const NAME: &'static str;
}
Expand description

A broker event with a typed payload.

Required Associated Constants§

Source

const NAME: &'static str

The wire name (MuxEvent::event).

Required Associated Types§

Source

type Payload: Serialize + TS + 'static

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Event for AccountAvailability

Source§

const NAME: &'static str = crate::backend::account_availability::EVENT_ACCOUNT_AVAILABILITY

Source§

type Payload = AccountAvailabilityEvent

Source§

impl Event for AgentApiRetry

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_API_RETRY

Source§

type Payload = ApiRetryEvent

Source§

impl Event for AgentContentChanged

Source§

const NAME: &'static str = "agentcontent:changed"

Source§

type Payload = ()

Source§

impl Event for AgentContextUsageChanged

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_CONTEXT_USAGE

Source§

type Payload = AgentContextUsageEvent

Source§

impl Event for AgentEndpointNotice

Source§

const NAME: &'static str = "agent:endpoint-notice"

Source§

type Payload = EndpointNoticeEvent

Source§

impl Event for AgentFailed

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_FAILURE

Source§

type Payload = AgentFailure

Source§

impl Event for AgentGrants

Source§

const NAME: &'static str = crate::backend::prompt_events::EVENT_AGENT_GRANTS

Source§

type Payload = GrantsEvent

Source§

impl Event for AgentHiddenChanged

Source§

const NAME: &'static str = "agenthidden:changed"

Source§

type Payload = ()

Source§

impl Event for AgentHistoryChanged

Source§

const NAME: &'static str = "agenthistory:changed"

Source§

type Payload = ()

Source§

impl Event for AgentInputHistoryChanged

Source§

const NAME: &'static str = "agent:inputhistory"

Source§

type Payload = InputHistoryChangedEvent

Source§

impl Event for AgentMessageAccepted

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_MESSAGE_ACCEPTED

Source§

type Payload = MessageAcceptedEvent

Source§

impl Event for AgentMessageQueued

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_MESSAGE_QUEUED

Source§

type Payload = MessageQueuedEvent

Source§

impl Event for AgentNotice

Source§

const NAME: &'static str = crate::backend::prompt_events::EVENT_AGENT_NOTICE

Source§

type Payload = NoticeView

Source§

impl Event for AgentProcessAdded

Source§

const NAME: &'static str = "agent:process-added"

Source§

type Payload = ProcessAddedEvent

Source§

impl Event for AgentProcessExited

Source§

const NAME: &'static str = "agent:process-exited"

Source§

type Payload = ProcessExitedEvent

Source§

impl Event for AgentProgress

Source§

const NAME: &'static str = crate::backend::reactive::progress_watcher::EVENT_AGENT_PROGRESS

Source§

type Payload = AgentProgressEvent

Source§

impl Event for AgentReactiveRegistered

Source§

const NAME: &'static str = "agent:reactive-registered"

Source§

type Payload = BlockRefEvent

Source§

impl Event for AgentReactiveUnregistered

Source§

const NAME: &'static str = "agent:reactive-unregistered"

Source§

type Payload = BlockRefEvent

Source§

impl Event for AgentResumeRetry

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_RESUME_RETRY

Source§

type Payload = ResumeRetryEvent

Source§

impl Event for AgentRuntime

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_RUNTIME

Source§

type Payload = AgentRuntimeEvent

Source§

impl Event for AgentShutdown

Source§

const NAME: &'static str = crate::backend::shutdown_events::EVENT_AGENT_SHUTDOWN

Source§

type Payload = ShutdownLineEvent

Source§

impl Event for AgentShutdownPending

Source§

const NAME: &'static str = crate::backend::shutdown_events::EVENT_SHUTDOWN_PENDING

Source§

type Payload = PendingView

Source§

impl Event for AgentShutdownPendingCleared

Source§

const NAME: &'static str = crate::backend::shutdown_events::EVENT_SHUTDOWN_PENDING_CLEARED

Source§

type Payload = PendingClearedEvent

Source§

impl Event for AgentSkillsChanged

Source§

const NAME: &'static str = "agentskills:changed"

Source§

type Payload = ()

Source§

impl Event for AgentTurn

Source§

const NAME: &'static str = super::mps::EVENT_AGENT_TURN

Source§

type Payload = AgentTurnEvent

Source§

impl Event for AgentsChanged

Source§

const NAME: &'static str = "agents:changed"

Source§

type Payload = ()

Source§

impl Event for AmbientNarration

Source§

const NAME: &'static str = "ambient-narration"

Source§

type Payload = AmbientNarrationEvent

Source§

impl Event for AmbientSpent

Source§

const NAME: &'static str = crate::ambient::spend::EVENT_AMBIENT_SPENT

Source§

type Payload = AmbientSpentEvent

Source§

impl Event for AppDesktop

Source§

const NAME: &'static str = "app:desktop"

Source§

type Payload = DesktopEvent

Source§

impl Event for AppServerOutput

Source§

const NAME: &'static str = "output"

Source§

type Payload = ProtocolFrame

Source§

impl Event for AppUpdateStatusChanged

Source§

const NAME: &'static str = crate::backend::update::check::EVENT_APP_UPDATE_STATUS

Source§

type Payload = AppUpdateStatus

Source§

impl Event for AppUpgradeRequests

Source§

const NAME: &'static str = "app:upgraderequests"

Source§

type Payload = UpgradeRequestsEvent

Source§

impl Event for AttachmentBatchDone

Source§

const NAME: &'static str = super::mps::EVENT_ATTACHMENT_BATCH_DONE

Source§

type Payload = AttachmentBatchDoneEvent

Source§

impl Event for AttachmentFailed

Source§

const NAME: &'static str = super::mps::EVENT_ATTACHMENT_FAILED

Source§

type Payload = AttachmentFailedEvent

Source§

impl Event for AttachmentProgress

Source§

const NAME: &'static str = super::mps::EVENT_ATTACHMENT_PROGRESS

Source§

type Payload = AttachmentProgressEvent

Source§

impl Event for AttachmentReady

Source§

const NAME: &'static str = super::mps::EVENT_ATTACHMENT_READY

Source§

type Payload = AttachmentReadyEvent

Source§

impl Event for AuditChanged

Source§

const NAME: &'static str = "audit:changed"

Source§

type Payload = ()

Source§

impl Event for BackgroundTaskUpdated

Source§

const NAME: &'static str = "background-task-updated"

Source§

type Payload = BlockRefEvent

Source§

impl Event for BlockActivity

Source§

const NAME: &'static str = super::mps::EVENT_BLOCK_ACTIVITY

Source§

type Payload = BlockActivityEvent

Source§

impl Event for BlockFile

Source§

const NAME: &'static str = super::mps::EVENT_BLOCK_FILE

Source§

type Payload = WSFileEventData

Source§

impl Event for BlockReveal

Source§

const NAME: &'static str = crate::backend::notify::router::EVENT_BLOCK_REVEAL

Source§

type Payload = BlockRevealEvent

Source§

impl Event for BlockStats

Source§

const NAME: &'static str = super::mps::EVENT_BLOCK_STATS

Source§

type Payload = TimeSeriesData

Source§

impl Event for BrowserGrantsChanged

Source§

const NAME: &'static str = "browsergrants:changed"

Source§

type Payload = ()

Source§

impl Event for BrowserPauseAllChanged

Source§

const NAME: &'static str = super::mps::EVENT_BROWSER_PAUSE_ALL

Source§

type Payload = BrowserPauseAll

Source§

impl Event for BrowserProfilesChanged

Source§

const NAME: &'static str = "browserprofiles:changed"

Source§

type Payload = ()

Source§

impl Event for BtwAnswerChunk

Source§

const NAME: &'static str = super::mps::EVENT_BTW_ANSWER_CHUNK

Source§

type Payload = BtwAnswerChunkEvent

Source§

impl Event for CaptureMask

Source§

const NAME: &'static str = "capture:mask"

Source§

type Payload = CaptureMaskEvent

Source§

impl Event for ChecksFlow

Source§

const NAME: &'static str = super::mps::EVENT_CHECKS_FLOW

Source§

type Payload = ChecksFlowEvent

Source§

impl Event for CompactionStarted

Source§

const NAME: &'static str = "compaction_started"

Source§

type Payload = CompactionStarted

Source§

impl Event for Config

Source§

const NAME: &'static str = super::mps::EVENT_CONFIG

Source§

type Payload = ConfigEvent

Source§

impl Event for ConnChange

Source§

const NAME: &'static str = super::mps::EVENT_CONN_CHANGE

Source§

type Payload = ConnStatus

Source§

impl Event for ConnectivityChanged

Source§

const NAME: &'static str = crate::connectivity::EVENT_CONNECTIVITY_CHANGED

Source§

type Payload = ConnectivityStatus

Source§

impl Event for ContainerRuntimeChanged

Source§

const NAME: &'static str = super::mps::EVENT_CONTAINER_RUNTIME

Source§

type Payload = ContainerRuntimeStatus

Source§

impl Event for ContainerStatusChanged

Source§

const NAME: &'static str = super::mps::EVENT_CONTAINER_STATUS

Source§

type Payload = ContainerStatus

Source§

impl Event for ControllerStatus

Source§

const NAME: &'static str = super::mps::EVENT_CONTROLLER_STATUS

Source§

type Payload = BlockControllerRuntimeStatus

Source§

impl Event for CronChanged

Source§

const NAME: &'static str = super::mps::EVENT_CRON_CHANGED

Source§

type Payload = ()

Source§

impl Event for DeepLinkOpen

Source§

const NAME: &'static str = "deeplink:open"

Source§

type Payload = DeepLinkOpenEvent

Source§

impl Event for DispatchActivity

Source§

const NAME: &'static str = "dispatch:activity"

Source§

type Payload = DispatchActivityEvent

Source§

impl Event for DispatchUpdated

Source§

const NAME: &'static str = "dispatch:updated"

Source§

type Payload = DispatchUpdatedEvent

Source§

impl Event for DockClear

Source§

const NAME: &'static str = super::mps::EVENT_DOCK_CLEAR

Source§

type Payload = DockClearEvent

Source§

impl Event for DronesChanged

Source§

const NAME: &'static str = "drones:changed"

Source§

type Payload = ()

Source§

impl Event for EditorFileChanged

Source§

const NAME: &'static str = crate::backend::editor_file_watcher::EVENT_EDITOR_FILE_CHANGED

Source§

type Payload = PathChangedEvent

Source§

impl Event for EventsDropped

Source§

const NAME: &'static str = "ws:eventsdropped"

Source§

type Payload = EventsDroppedEvent

Source§

impl Event for FileRenamed

Source§

const NAME: &'static str = "fs:renamed"

Source§

type Payload = FileRenamedEvent

Source§

impl Event for FilesChanged

Source§

const NAME: &'static str = crate::backend::files_watcher::EVENT_FILES_CHANGED

Source§

type Payload = FilesChangedEvent

Source§

impl Event for FilesOp

Source§

const NAME: &'static str = crate::backend::fs_ops::jobs::EVENT_FILES_OP

Source§

type Payload = FsOpEvent

Source§

impl Event for FleetBroadcastProgress

Source§

const NAME: &'static str = crate::backend::rpc_types::EVENT_FLEET_BROADCAST_PROGRESS

Source§

type Payload = FleetBroadcastProgressEvent

Source§

impl Event for FolderOverlapAsks

Source§

const NAME: &'static str = super::mps::EVENT_FOLDER_OVERLAP_ASKS

Source§

type Payload = FolderOverlapAsksEvent

Source§

impl Event for GoogleNotice

Source§

const NAME: &'static str = "google:notice"

Source§

type Payload = GoogleNoticeEvent

Source§

impl Event for HistorySessionsChanged

Source§

const NAME: &'static str = "history:sessions:changed"

Source§

type Payload = ()

Source§

impl Event for IdentityAccountsChanged

Source§

const NAME: &'static str = "identityaccounts:changed"

Source§

type Payload = ()

Source§

const NAME: &'static str = "identity:no-direct-links"

Source§

type Payload = NoDirectLinksEvent

Source§

impl Event for IncidentRecorded

Source§

const NAME: &'static str = crate::backend::transcript::damage::EVENT_INCIDENT_RECORDED

Source§

type Payload = IncidentEvent

Source§

impl Event for InstallChunk

Source§

const NAME: &'static str = "install_chunk"

Source§

type Payload = InstallChunkEvent

Source§

impl Event for InstallProgress

Source§

const NAME: &'static str = super::mps::EVENT_INSTALL_PROGRESS

Source§

type Payload = InstallProgressEvent

Source§

impl Event for JektHeld

Source§

const NAME: &'static str = crate::backend::jekt_held_summary::EVENT_JEKT_HELD

Source§

type Payload = JektHeldEvent

Source§

impl Event for JobsChanged

Source§

const NAME: &'static str = "jobs:changed"

Source§

type Payload = JobsChangedEvent

Source§

impl Event for LanInstances

Source§

const NAME: &'static str = "laninstances"

Source§

type Payload = LanInstanceList

Source§

impl Event for LanInstancesError

Source§

const NAME: &'static str = "laninstances:error"

Source§

type Payload = LanDiscoveryError

Source§

impl Event for LanInstancesFirewall

Source§

const NAME: &'static str = "laninstances:firewall"

Source§

type Payload = LanFirewall

Source§

impl Event for LanInstancesHealth

Source§

const NAME: &'static str = "laninstances:health"

Source§

type Payload = LanDiscoverability

Source§

impl Event for LspMessage

Source§

const NAME: &'static str = "lsp:message"

Source§

type Payload = LspMessageEvent

Source§

impl Event for McpChanged

Source§

const NAME: &'static str = "mcp:changed"

Source§

type Payload = ()

Source§

impl Event for McpObserved

Source§

const NAME: &'static str = "mcp:observed"

Source§

type Payload = BlockRefEvent

Source§

impl Event for MeasurePanes

Source§

const NAME: &'static str = "measurepanes"

Source§

type Payload = MeasurePanesEvent

Source§

impl Event for MediaFileChanged

Source§

const NAME: &'static str = crate::backend::media_file_watcher::EVENT_MEDIA_FILE_CHANGED

Source§

type Payload = PathChangedEvent

Source§

impl Event for MemoriesChanged

Source§

const NAME: &'static str = "memories:changed"

Source§

type Payload = ()

Source§

impl Event for MergeFlow

Source§

const NAME: &'static str = super::mps::EVENT_MERGE_FLOW

Source§

type Payload = MergeFlowEvent

Source§

impl Event for MessageFlow

Source§

const NAME: &'static str = super::mps::EVENT_MESSAGE_FLOW

Source§

type Payload = MessageFlowEvent

Source§

impl Event for MuxObjBatchedUpdates

Source§

const NAME: &'static str = super::eventbus::WS_EVENT_MUX_OBJ_BATCHED_UPDATES

Source§

type Payload = MuxObjBatch

Source§

impl Event for MuxObjUpdated

Source§

const NAME: &'static str = super::mps::EVENT_MUX_OBJ_UPDATE

Source§

type Payload = MuxObjUpdate

Source§

impl Event for MuxbusStatus

Source§

const NAME: &'static str = crate::muxbus::delivery_status::EVENT_MUXBUS_STATUS

Source§

type Payload = MuxBusDeliveryStatus

Source§

impl Event for NamedAgentsChanged

Source§

const NAME: &'static str = "namedagents:changed"

Source§

type Payload = ()

Source§

impl Event for Notification

Source§

const NAME: &'static str = crate::backend::notify::router::EVENT_NOTIFICATION

Source§

type Payload = Notification

Source§

impl Event for NotificationActivate

Source§

const NAME: &'static str = crate::backend::notify::router::EVENT_NOTIFICATION_ACTIVATE

Source§

type Payload = NotificationActivateEvent

Source§

impl Event for NotificationRetract

Source§

const NAME: &'static str = crate::backend::notify::router::EVENT_NOTIFICATION_RETRACT

Source§

type Payload = NotificationRetractEvent

Source§

impl Event for NotificationState

Source§

const NAME: &'static str = crate::backend::notify::router::EVENT_NOTIFICATION_STATE

Source§

type Payload = TrayState

Source§

impl Event for OpenFloatingPane

Source§

const NAME: &'static str = "openfloatingpane"

Source§

type Payload = OpenFloatingPaneEvent

Source§

impl Event for PaneAgentOpened

Source§

const NAME: &'static str = "pane:agentopened"

Source§

type Payload = PaneAgentOpenedEvent

Source§

impl Event for PaneConfirm

Source§

const NAME: &'static str = crate::backend::prompt_events::EVENT_PANE_CONFIRM

Source§

type Payload = PaneConfirmView

Source§

impl Event for PinAsks

Source§

const NAME: &'static str = super::mps::EVENT_PIN_ASKS

Source§

type Payload = PinAsksEvent

Source§

impl Event for PinsChanged

Source§

const NAME: &'static str = "pins:changed"

Source§

type Payload = ()

Source§

impl Event for PlaceFloatingPane

Source§

const NAME: &'static str = "placefloatingpane"

Source§

type Payload = PlaceFloatingPaneEvent

Source§

impl Event for ProcessStatusChanged

Source§

const NAME: &'static str = crate::broker::process::EVENT_STATUS_CHANGED

Source§

type Payload = ProcessStatus

Source§

impl Event for RecordFlags

Source§

const NAME: &'static str = super::mps::EVENT_RECORD_FLAGS

Source§

type Payload = RecordFlagsEvent

Source§

impl Event for RemotesChanged

Source§

const NAME: &'static str = super::mps::EVENT_REMOTES_CHANGE

Source§

type Payload = ()

Source§

impl Event for ReviewFlow

Source§

const NAME: &'static str = super::mps::EVENT_REVIEW_FLOW

Source§

type Payload = ReviewFlowEvent

Source§

impl Event for SensitiveCleared

Source§

const NAME: &'static str = crate::backend::prompt_events::EVENT_SENSITIVE_CLEARED

Source§

type Payload = SensitiveClearedEvent

Source§

impl Event for SensitivePending

Source§

const NAME: &'static str = crate::backend::prompt_events::EVENT_SENSITIVE_PENDING

Source§

type Payload = SensitiveView

Source§

impl Event for ShellChunk

Source§

const NAME: &'static str = super::mps::EVENT_SHELL_CHUNK

Source§

type Payload = ShellChunkEvent

Source§

impl Event for ShellNodeCreate

Source§

const NAME: &'static str = super::mps::EVENT_SHELL_NODE_CREATE

Source§

type Payload = ShellNodeCreateEvent

Source§

const NAME: &'static str = "identity:signinlink"

Source§

type Payload = SigninLinkEvent

Source§

impl Event for SingletonClaim

Source§

const NAME: &'static str = "singleton:claim"

Source§

type Payload = SingletonClaimEvent

Source§

impl Event for SkillsChanged

Source§

const NAME: &'static str = "skills:changed"

Source§

type Payload = ()

Source§

impl Event for SrvInfo

Source§

const NAME: &'static str = "srvinfo"

Source§

type Payload = SrvInfo

Source§

impl Event for SrvPanics

Source§

const NAME: &'static str = super::mps::EVENT_SRV_PANICS

Source§

type Payload = SrvPanicsEvent

Source§

impl Event for SubagentAbandoned

Source§

const NAME: &'static str = "subagent:abandoned"

Source§

type Payload = SubagentAbandonedEvent

Source§

impl Event for SubagentActivity

Source§

const NAME: &'static str = "subagent:activity"

Source§

type Payload = SubagentActivityEvent

Source§

impl Event for SubagentBackfillStatus

Source§

const NAME: &'static str = super::mps::EVENT_SUBAGENT_BACKFILL_STATUS

Source§

type Payload = SubagentBackfillStatusEvent

Source§

impl Event for SubagentBlockPruned

Source§

const NAME: &'static str = "subagent:block_pruned"

Source§

type Payload = SubagentBlockPrunedEvent

Source§

impl Event for SubagentCompleted

Source§

const NAME: &'static str = "subagent:completed"

Source§

type Payload = SubagentCompletedEvent

Source§

impl Event for SubagentNamed

Source§

const NAME: &'static str = "subagent:named"

Source§

type Payload = SubagentNamedEvent

Source§

impl Event for SubagentSpawned

Source§

const NAME: &'static str = "subagent:spawned"

Source§

type Payload = SubagentSpawnedEvent

Source§

impl Event for SubagentUpdated

Source§

const NAME: &'static str = "subagent:updated"

Source§

type Payload = SubagentUpdatedEvent

Source§

impl Event for SysInfo

Source§

const NAME: &'static str = super::mps::EVENT_SYS_INFO

Source§

type Payload = TimeSeriesData

Source§

impl Event for TaskFlow

Source§

const NAME: &'static str = super::mps::EVENT_TASK_FLOW

Source§

type Payload = TaskFlowEvent

Source§

impl Event for ToolChunk

Source§

const NAME: &'static str = "tool_chunk"

Source§

type Payload = ToolChunk

Source§

impl Event for TrackedBlocksChanged

Source§

const NAME: &'static str = crate::broker::process::EVENT_TRACKED_BLOCKS_CHANGED

Source§

type Payload = ()

Source§

impl Event for UserAttention

Source§

const NAME: &'static str = super::mps::EVENT_USER_ATTENTION

Source§

type Payload = UserAttentionEvent

Source§

impl Event for Vault

Source§

const NAME: &'static str = super::mps::EVENT_VAULT

Source§

type Payload = VaultEvent

Source§

impl Event for ViewerDevicesChanged

Source§

const NAME: &'static str = "viewerdevices:changed"

Source§

type Payload = ()

Source§

impl Event for ViewerPaired

Source§

const NAME: &'static str = "viewer:paired"

Source§

type Payload = ViewerPairedEvent

Source§

impl Event for ViewerWatchingChanged

Source§

const NAME: &'static str = "viewerwatching:changed"

Source§

type Payload = ()

Source§

impl Event for WidgetPackages

Source§

const NAME: &'static str = super::mps::EVENT_WIDGET_PACKAGES

Source§

type Payload = WidgetPackagesEvent

Source§

impl Event for WidgetRequests

Source§

const NAME: &'static str = super::mps::EVENT_WIDGET_REQUESTS

Source§

type Payload = WidgetRequestsEvent

Source§

impl Event for WidgetStorage

Source§

const NAME: &'static str = super::mps::EVENT_WIDGET_STORAGE

Source§

type Payload = WidgetStorageEvent

Source§

impl Event for WorkQueueChanged

Source§

const NAME: &'static str = "workqueue:changed"

Source§

type Payload = ()

Source§

impl Event for WorkspaceStop

Source§

const NAME: &'static str = crate::backend::shutdown_events::EVENT_WORKSPACE_STOP

Source§

type Payload = WorkspaceStopView