Skip to main content

SymmetricTransport

Trait SymmetricTransport 

Source
pub trait SymmetricTransport<Message, Error>: Transport<Message, Message, Error> { }
Expand description

Helper trait for transports where incoming and outgoing messages are of the same type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, Message, Error> SymmetricTransport<Message, Error> for T
where T: Transport<Message, Message, Error>,