Trait nemo::Protocol
[−]
[src]
pub trait Protocol { type Initial: SessionType; }
A Protocol
describes the underlying protocol, including the "initial" session
type. Handler
s are defined over concrete Protocol
s to implement the behavior
of a protocol in a given SessionType
.