[][src]Trait lorawan::maccommands::SerializableMacCommand

pub trait SerializableMacCommand {
    fn payload_bytes(&self) -> &[u8];
fn cid(&self) -> u8;
fn payload_len(&self) -> usize; }

Required methods

fn payload_bytes(&self) -> &[u8]

fn cid(&self) -> u8

fn payload_len(&self) -> usize

Loading content...

Implementors

impl SerializableMacCommand for DevStatusAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for DevStatusReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for DutyCycleAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for DutyCycleReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for LinkADRAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for LinkADRReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for LinkCheckAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for LinkCheckReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for NewChannelAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for NewChannelReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for RXParamSetupAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for RXParamSetupReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for RXTimingSetupAnsCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl SerializableMacCommand for RXTimingSetupReqCreator[src]

fn payload_bytes(&self) -> &[u8][src]

Bytes of the SerializableMacCommand without the cid.

fn cid(&self) -> u8[src]

The cid of the SerializableMacCommand.

fn payload_len(&self) -> usize[src]

Length of the SerializableMacCommand without the cid.

impl<'a> SerializableMacCommand for MacCommand<'a>[src]

Loading content...