pub enum Extension {
Span {
sender_ei: [u8; 16],
},
Mpan {
group: u8,
inner_state: [u8; 16],
},
Mgrp {
group: u8,
},
Mos,
Unknown {
kind: u8,
data: Vec<u8>,
},
}Expand description
A Security 2 Message Encapsulation extension.
Variants§
Span
Singlecast PAN: the sender’s entropy input.
Mpan
Multicast PAN: a group’s inner state (always encrypted).
Mgrp
Multicast group: this frame belongs to (or follows up) group group.
Mos
Multicast out of sync: the sender lacks an MPAN of ours.
Unknown
An extension this implementation does not know (non-critical only).
Trait Implementations§
impl Eq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnsafeUnpin for Extension
impl UnwindSafe for Extension
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more