pub trait Transport: TransportSender + TransportReceiver { }Available on crate feature
transport only.Expand description
Combined transport – implements both send and receive.
Convenience trait for transports that support bidirectional communication. Most concrete implementations (Kafka, gRPC, Memory, Redis, File, Pipe) implement this. Automatically implemented via blanket impl.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: TransportSender + TransportReceiver> Transport for T
Blanket impl: anything that implements both traits is a Transport.