pub trait Direction {
type Message;
// Required method
fn decode(frame: Frame) -> Result<Self::Message>;
}Expand description
Decoder direction. The same byte tag has different meanings in each direction.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".