Enum capsules::net::ieee802154::SecurityLevel
[−]
[src]
#[repr(u8)]pub enum SecurityLevel { None, Mic32, Mic64, Mic128, EncMic32, EncMic64, EncMic128, }
Variants
NoneMic32Mic64Mic128EncMic32EncMic64EncMic128
Methods
impl SecurityLevel[src]
pub fn from_scf(scf: u8) -> Option<SecurityLevel>[src]
pub fn encryption_needed(&self) -> bool[src]
pub fn mic_len(&self) -> usize[src]
Trait Implementations
impl Copy for SecurityLevel[src]
impl Clone for SecurityLevel[src]
fn clone(&self) -> SecurityLevel[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 SecurityLevel[src]
fn assert_receiver_is_total_eq(&self)[src]
impl PartialEq for SecurityLevel[src]
fn eq(&self, __arg_0: &SecurityLevel) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.