pub enum Auth {
None,
Static(Key),
OutputNumeric(u8),
InputNumeric(u8),
}Expand description
How the provisioner authenticates the device.
Variants§
None
No OOB (no authentication).
Static(Key)
A static OOB value (16 octets) both know.
OutputNumeric(u8)
The device shows a number, the provisioner is told it (size digits).
InputNumeric(u8)
The provisioner shows a number, the device is told it.
Trait Implementations§
impl Copy for Auth
impl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Forget for Auth
impl Freeze for Auth
impl Move for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnsafeUnpin for Auth
impl UnwindSafe for Auth
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