Skip to main content

ProtoTrace

Type Alias ProtoTrace 

Source
pub type ProtoTrace<P> = Trace<<P as Protocol>::Msg, <P as Protocol>::Ind, <P as Protocol>::Note, <P as Protocol>::Cmd>;
Expand description

The trace type for a given protocol.

A trace names all four of a protocol’s outward vocabularies — what it was asked, what crossed the wire, what it concluded, what it said — so writing them out is four associated types every time. The same shape as recon_core::ProtoCx, and for the same reason.

Aliased Type§

pub struct ProtoTrace<P> { /* private fields */ }