Skip to main content

Module TransportStrategy

Module TransportStrategy 

Source
Expand description

§TransportStrategy Trait

Defines the core trait that all transport implementations must implement. This trait provides a unified, transport-agnostic interface for sending requests and notifications, with optional event streaming capabilities.

All transports must be async and thread-safe (Send + Sync).

Structs§

TransportCapabilities
Transport capabilities and limits.
TransportMetrics
Transport performance metrics.

Enums§

CircuitBreakerState
Circuit breaker state.
TransportErrorCode
Transport-specific error codes.

Traits§

TransportStrategy
Core transport strategy trait.