pub enum AuthMode {
Pase = 1,
Case = 2,
Group = 3,
}Expand description
How the subject of an action authenticated itself (§9.10.5.4).
An entry matches only an action authenticated the same way. The modes are not interchangeable and one never subsumes another: a group key proves possession of a shared secret, a CASE session proves a certificate chain back to the fabric root, and confusing the two would let a group message act with a node’s identity.
Variants§
Pase = 1
1 — a passcode-authenticated session, during commissioning only.
Case = 2
2 — a CASE session, authenticated by an operational certificate.
Group = 3
3 — a group message, authenticated by an operational group key.
Implementations§
Trait Implementations§
impl Copy for AuthMode
impl Eq for AuthMode
impl StructuralPartialEq for AuthMode
Auto Trait Implementations§
impl Forget for AuthMode
impl Freeze for AuthMode
impl Move for AuthMode
impl RefUnwindSafe for AuthMode
impl Send for AuthMode
impl Sync for AuthMode
impl Unpin for AuthMode
impl UnsafeUnpin for AuthMode
impl UnwindSafe for AuthMode
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