Trait nrf_softdevice::ble::l2cap::Packet
source · pub trait Packet: Sized {
const MTU: usize;
// Required methods
fn allocate() -> Option<NonNull<u8>>;
fn into_raw_parts(self) -> (NonNull<u8>, usize);
unsafe fn from_raw_parts(ptr: NonNull<u8>, len: usize) -> Self;
}