Enum capsules::net::ieee802154::PayloadIE
[−]
[src]
pub enum PayloadIE<'a> {
Undissected {
group_id: u8,
content: &'a [u8],
},
Termination,
}Variants
UndissectedFields of Undissected
group_id: u8 | |
content: &'a [u8] |
Termination
Methods
impl<'a> PayloadIE<'a>[src]
pub fn is_termination(&self) -> bool[src]
pub fn encode(&self, buf: &mut [u8]) -> SResult[src]
pub fn decode<'b>(buf: &'b [u8]) -> SResult<PayloadIE<'b>>[src]
Trait Implementations
impl<'a> Copy for PayloadIE<'a>[src]
impl<'a> Clone for PayloadIE<'a>[src]
fn clone(&self) -> PayloadIE<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Eq for PayloadIE<'a>[src]
fn assert_receiver_is_total_eq(&self)[src]
impl<'a> PartialEq for PayloadIE<'a>[src]
fn eq(&self, __arg_0: &PayloadIE<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PayloadIE<'a>) -> bool[src]
This method tests for !=.
impl<'a> Debug for PayloadIE<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more