Struct capsules::net::ieee802154::Security
[−]
[src]
pub struct Security { pub level: SecurityLevel, pub asn_in_nonce: bool, pub frame_counter: Option<u32>, pub key_id: KeyId, }
Fields
level: SecurityLevel
asn_in_nonce: bool
frame_counter: Option<u32>
key_id: KeyId
Methods
impl Security
[src]
pub fn encode(&self, buf: &mut [u8]) -> SResult
[src]
pub fn decode(buf: &[u8]) -> SResult<Security>
[src]
Trait Implementations
impl Copy for Security
[src]
impl Clone for Security
[src]
fn clone(&self) -> Security
[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 Security
[src]
fn assert_receiver_is_total_eq(&self)
[src]
impl PartialEq for Security
[src]
fn eq(&self, __arg_0: &Security) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Security) -> bool
[src]
This method tests for !=
.