pub trait Command:
TryFrom<u8>
+ PartialEq<u8>
+ Copy
+ Sealed {
// Required method
fn command(&self) -> u8;
}Available on crate feature
binary only.Expand description
Types that can be used as a command code in a Binary message.
Required Methods§
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.