pub enum DeviceIdentity<'a> {
Rsa256 {
public_key: &'a str,
},
}
Expand description
Algorithm and public secret to identify the device from the cloud.
Variants§
Rsa256
RSA 256 bits asymmetric encryption
Implementations§
Source§impl DeviceIdentity<'_>
impl DeviceIdentity<'_>
Sourcepub const fn tag(&self) -> DeviceIdentityTag
pub const fn tag(&self) -> DeviceIdentityTag
Access the enumeration tag only.
Auto Trait Implementations§
impl<'a> Freeze for DeviceIdentity<'a>
impl<'a> RefUnwindSafe for DeviceIdentity<'a>
impl<'a> Send for DeviceIdentity<'a>
impl<'a> Sync for DeviceIdentity<'a>
impl<'a> Unpin for DeviceIdentity<'a>
impl<'a> UnwindSafe for DeviceIdentity<'a>
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