Trait nrf_softdevice::ble::GattValue
source · pub trait GattValue: Sized {
const MIN_SIZE: usize;
const MAX_SIZE: usize;
// Required methods
fn from_gatt(data: &[u8]) -> Self;
fn to_gatt(&self) -> &[u8];
}
pub trait GattValue: Sized {
const MIN_SIZE: usize;
const MAX_SIZE: usize;
// Required methods
fn from_gatt(data: &[u8]) -> Self;
fn to_gatt(&self) -> &[u8];
}