Skip to main content

Module a2a

Module a2a 

Source
Expand description

A2A’s application layer — use cases the wire codec routes into.

Each handler is the consumer of a narrow port trait declared here. The port trait’s return type is a domain error, not an infrastructure one, so the handler can be tested without a socket and the adapter can map reqwest / tokio failures into the domain shape at the boundary.

Modules§

conformance
A2A v1.0 conformance vector runner.

Structs§

A2aRequestContext
The per-request context the A2A handler receives.
NotificationConfig
A PushNotificationConfig the A2A client registered, post-validation.
WebhookUrl
The push-notification URL a client registered, after URL filter approval.

Enums§

A2aError
An A2A-specific error.
FilterDenial
A denial with a name a peer can act on.
NotificationConfigError
Failure modes for a delivery attempt, in priority order.

Traits§

A2aRequestHandler
The consumer’s extension point for A2A methods.
A2aRequestHandlerExt
The per-method typed wrappers. A blanket impl means every A2aRequestHandler gets the typed methods for free.
PushNotificationDelivery
The port the push-notification handler depends on.
UrlFilter
The port the push-notification delivery adapter consults.