Enum capsules::net::ieee802154::KeyId
[−]
[src]
pub enum KeyId { Implicit, Index(u8), Source4Index([u8; 4], u8), Source8Index([u8; 8], u8), }
Variants
Implicit
Index(u8)
Source4Index([u8; 4], u8)
Source8Index([u8; 8], u8)
Methods
impl KeyId
[src]
pub fn encode(&self, buf: &mut [u8]) -> SResult
[src]
pub fn decode(buf: &[u8], mode: KeyIdMode) -> SResult<KeyId>
[src]
Trait Implementations
impl Copy for KeyId
[src]
impl Clone for KeyId
[src]
fn clone(&self) -> KeyId
[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 Eq for KeyId
[src]
fn assert_receiver_is_total_eq(&self)
[src]
impl PartialEq for KeyId
[src]
fn eq(&self, __arg_0: &KeyId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyId) -> bool
[src]
This method tests for !=
.
impl Debug for KeyId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more