nrf-softdevice

Crates

git

Versions

s140

Flavors

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;
}

Required Associated Constants§

Required Methods§

source

fn allocate() -> Option<NonNull<u8>>

source

fn into_raw_parts(self) -> (NonNull<u8>, usize)

source

unsafe fn from_raw_parts(ptr: NonNull<u8>, len: usize) -> Self

Implementors§