Struct ieee802154::mac::frame::security::SecurityControl
source · [−]pub struct SecurityControl { /* private fields */ }
Expand description
The Security Control header
Contains fields describing the security applied to the incoming frame
Implementations
sourceimpl SecurityControl
impl SecurityControl
sourcepub fn new(security_level: SecurityLevel) -> Self
pub fn new(security_level: SecurityLevel) -> Self
Create a new securitycontrol with the specified level.
The key id mode is determined at a different time
Trait Implementations
sourceimpl Clone for SecurityControl
impl Clone for SecurityControl
sourcefn clone(&self) -> SecurityControl
fn clone(&self) -> SecurityControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SecurityControl
impl Debug for SecurityControl
sourceimpl Hash for SecurityControl
impl Hash for SecurityControl
sourceimpl PartialEq<SecurityControl> for SecurityControl
impl PartialEq<SecurityControl> for SecurityControl
sourcefn eq(&self, other: &SecurityControl) -> bool
fn eq(&self, other: &SecurityControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryRead<'_, ()> for SecurityControl
impl TryRead<'_, ()> for SecurityControl
sourceimpl TryWrite<()> for SecurityControl
impl TryWrite<()> for SecurityControl
impl Copy for SecurityControl
impl Eq for SecurityControl
impl StructuralEq for SecurityControl
impl StructuralPartialEq for SecurityControl
Auto Trait Implementations
impl RefUnwindSafe for SecurityControl
impl Send for SecurityControl
impl Sync for SecurityControl
impl Unpin for SecurityControl
impl UnwindSafe for SecurityControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more