Skip to main content

Crate ironsbe_transport

Crate ironsbe_transport 

Source
Expand description

§IronSBE Transport

Network transport layer for SBE messaging.

This crate provides:

  • traits - Backend-agnostic Transport, Listener, Connection traits (always available)
  • tcp - Tokio-based TCP backend (feature tcp-tokio, enabled by default)
  • udp - UDP unicast and multicast with A/B arbitration
  • ipc - Shared memory IPC transport

§Selecting a backend

The default feature set enables tcp-tokio. To select it explicitly, disable default features and enable the backend feature directly:

ironsbe-transport = { version = "...", default-features = false, features = ["tcp-tokio"] }

DefaultTransport is a type alias that resolves to the backend selected by the active feature. Code that is generic over T: Transport can use DefaultTransport as the default type parameter.

Re-exports§

pub use error::TransportError;
pub use traits::Connection;
pub use traits::Listener;
pub use traits::Transport;

Modules§

error
Error types for transport operations.
ipc
IPC (Inter-Process Communication) transport module.
tcp
TCP transport module.
traits
Backend-agnostic transport traits.
udp
UDP transport module.

Type Aliases§

DefaultTransport
The transport backend selected by the active cargo feature.