pub trait AsGatt {
const MIN_SIZE: usize;
const MAX_SIZE: usize;
// Required method
fn as_gatt(&self) -> &[u8];
}Expand description
Trait to allow conversion of a type to gatt bytes
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".