pub enum KeyBackend {
Software,
SecureElement,
}Expand description
Backend of the key
Variants§
Software
Software based keys
SecureElement
Keys generated and store in the secure element of the device
Trait Implementations§
Source§impl Clone for KeyBackend
impl Clone for KeyBackend
Source§fn clone(&self) -> KeyBackend
fn clone(&self) -> KeyBackend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyBackend
impl Debug for KeyBackend
Source§impl Default for KeyBackend
impl Default for KeyBackend
Source§fn default() -> KeyBackend
fn default() -> KeyBackend
Returns the “default value” for a type. Read more
Source§impl Display for KeyBackend
impl Display for KeyBackend
Source§impl From<KeyBackend> for &str
impl From<KeyBackend> for &str
Source§fn from(key_backend: KeyBackend) -> Self
fn from(key_backend: KeyBackend) -> Self
Converts to this type from the input type.
Source§impl FromStr for KeyBackend
impl FromStr for KeyBackend
Source§impl PartialEq for KeyBackend
impl PartialEq for KeyBackend
impl Eq for KeyBackend
impl StructuralPartialEq for KeyBackend
Auto Trait Implementations§
impl Freeze for KeyBackend
impl RefUnwindSafe for KeyBackend
impl Send for KeyBackend
impl Sync for KeyBackend
impl Unpin for KeyBackend
impl UnwindSafe for KeyBackend
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