Trait puffin::protocol::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)

Object Safety§

This trait is not object safe.

Implementors§