Skip to main content

Crate velo_ext

Crate velo_ext 

Source
Expand description

Extension trait surface for Velo.

Out-of-tree implementors of Transport, FrameTransport, and PeerDiscovery depend on this crate. It contains the trait definitions and the value/error types that appear in their signatures — nothing more. Anyone who only uses Velo should depend on the velo crate; only plugin authors should reach for velo-ext.

§Stability

This crate is the contract that downstream impls compile against. New trait methods land with default impls; signature changes require a deliberate version bump coordinated with velo. See Cargo.toml for the full policy.

Re-exports§

pub use admission::AdmissionError;
pub use admission::AdmissionGate;
pub use admission::AdmissionState;
pub use admission::SendAdmission;
pub use admission::SendOutcome;
pub use discovery::PeerDiscovery;
pub use discovery::PeerRegistrationGuard;
pub use discovery::ServiceDiscovery;
pub use discovery::ServiceEvent;
pub use discovery::ServiceRegistrationGuard;
pub use id::InstanceId;
pub use id::PeerInfo;
pub use id::TransportKey;
pub use id::WorkerAddress;
pub use id::WorkerAddressError;
pub use id::WorkerId;
pub use observability::Direction;
pub use observability::TransportObservability;
pub use observability::TransportRejection;
pub use streaming::FrameTransport;
pub use transport::AdmitOutcome;
pub use transport::DataStreams;
pub use transport::HealthCheckError;
pub use transport::InFlightGuard;
pub use transport::InboundMessage;
pub use transport::MessageType;
pub use transport::ShutdownPolicy;
pub use transport::ShutdownState;
pub use transport::Transport;
pub use transport::TransportAdapter;
pub use transport::TransportError;
pub use transport::TransportErrorHandler;
pub use transport::make_channels;

Modules§

admission
Ordered per-target send admission.
discovery
Peer and service discovery extension traits.
id
Identity, address, and transport-key types referenced by the extension traits. Anything that appears in a Transport, PeerDiscovery, or ServiceDiscovery signature lives here.
observability
Transport observability extension surface.
streaming
Frame-level transport abstraction for ordered delivery streaming.
transport
Active-message transport extension trait.