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 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 AgentFailed

Source§

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

Source§

type Payload = AgentFailure

Source§

impl Event for AgentHistoryChanged

Source§

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

Source§

type Payload = ()

Source§

impl Event for AgentMessageAccepted

Source§

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

Source§

type Payload = MessageAcceptedEvent

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::sagas::close_pane::EVENT_AGENT_SHUTDOWN

Source§

type Payload = ShutdownLineEvent

Source§

impl Event for AgentShutdownPending

Source§

const NAME: &'static str = crate::sagas::pending_shutdown::EVENT_SHUTDOWN_PENDING

Source§

type Payload = PendingView

Source§

impl Event for AgentShutdownPendingCleared

Source§

const NAME: &'static str = crate::sagas::pending_shutdown::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 AppServerOutput

Source§

const NAME: &'static str = "output"

Source§

type Payload = ProtocolFrame

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 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 BtwAnswerChunk

Source§

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

Source§

type Payload = BtwAnswerChunkEvent

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 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 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 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 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 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 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 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 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 ProcessStatusChanged

Source§

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

Source§

type Payload = ProcessStatus

Source§

impl Event for RemotesChanged

Source§

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

Source§

type Payload = ()

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§

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 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 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 ViewerPaired

Source§

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

Source§

type Payload = ViewerPairedEvent

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 = ()