pub trait HasDual: Sealed {
type Dual;
}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 of session-types
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".