ProtocolMessageFlight

Trait ProtocolMessageFlight 

Source
pub trait ProtocolMessageFlight<PT: ProtocolTypes, M: ProtocolMessage<PT, O>, O: OpaqueProtocolMessage<PT>, OF: OpaqueProtocolMessageFlight<PT, O>>:
    Clone
    + Debug
    + From<M>
    + TryFrom<OF>
    + Into<OF>
    + EvaluatedTerm<PT> {
    // Required methods
    fn new() -> Self;
    fn push(&mut self, msg: M);
    fn debug(&self, info: &str);
}
Expand description

Store a message flight, a vec of all the messages sent by the PUT between two steps

Required Methods§

Source

fn new() -> Self

Source

fn push(&mut self, msg: M)

Source

fn debug(&self, info: &str)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§