pub trait FixedGattValue: Sized {
const SIZE: usize;
// Required methods
fn from_gatt(data: &[u8]) -> Self;
fn to_gatt(&self) -> &[u8];
}
Required Associated Constants§
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.