[][src]Module dialectic::canonical

The CanonicalChan type is defined here. Typically, you don't need to import this module, and should use the Chan type synonym instead.

Structs

Branches

The result of offer: an enumeration of the possible new channel states that could result from the offering of the tuple of protocols Choices.

CanonicalChan

A bidirectional communications channel using the session type P over the connections Tx and Rx. ⚠️ Important: in type signatures, always write the type synonym Chan, not CanonicalChan directly. Read more here.

Over

The future returned by NewSession::over (see its documentation for details).