pub trait HasDual: Sealed {
type Dual: HasDual;
}
Expand description
The HasDual trait defines the dual relationship between protocols.
Any valid protocol has a corresponding dual.
This trait is sealed and cannot be implemented outside session-types.