Enum nrf24_rs::config::PayloadSize [−][src]
pub enum PayloadSize { Dynamic, Static(u8), }
Expand description
Enum representing the payload size.
Variants
Expand description
The chip will dynamically set the payload size, depending on the message size.
Expand description
Static payload size. Maximum value of 127.
Trait Implementations
impl Clone for PayloadSize
[src]
impl Clone for PayloadSize
[src]fn clone(&self) -> PayloadSize
[src]
fn clone(&self) -> PayloadSize
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PayloadSize
[src]
impl Debug for PayloadSize
[src]impl Default for PayloadSize
[src]
impl Default for PayloadSize
[src]impl From<u8> for PayloadSize
[src]
impl From<u8> for PayloadSize
[src]impl PartialEq<PayloadSize> for PayloadSize
[src]
impl PartialEq<PayloadSize> for PayloadSize
[src]fn eq(&self, other: &PayloadSize) -> bool
[src]
fn eq(&self, other: &PayloadSize) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PayloadSize) -> bool
[src]
fn ne(&self, other: &PayloadSize) -> bool
[src]This method tests for !=
.