pub trait Capability: Sealed + Default {
const RX_ENABLE: bool;
}
Expand description
Type-level enum representing the simplex or duplex transaction capability
The available, type-level variants are Rx
, Tx
and Duplex
. See
the type-level enum documentation for more details.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.