Struct embedded_nrf24l01::Payload [] [src]

pub struct Payload { /* fields omitted */ }

Represents a received packet. Stores 32 bytes and the actual length.

Use as_ref() or Deref to obtain a slice of the content.

Methods

impl Payload
[src]

[src]

Copy a slice

[src]

Read length

Trait Implementations

impl AsRef<[u8]> for Payload
[src]

[src]

Performs the conversion.

impl Deref for Payload
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

Auto Trait Implementations

impl Send for Payload

impl Sync for Payload