Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Enum

MasterKeyState

pub enum MasterKeyState {
    Onboarding,
    Erased,
    Normal,
    Unknown,
}
Expand description

The state of the master key determined by the combination of the secrets available to the security server.

Variants

Onboarding

Erased

Normal

Unknown

Trait Implementations

impl AsScalar<1> for MasterKeyState

fn as_scalar(&self) -> [u32; 1]

impl Clone for MasterKeyState

fn clone(&self) -> MasterKeyState

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for MasterKeyState

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl FromScalar<1> for MasterKeyState

fn from_scalar([value]: [u32; 1]) -> Self

impl Copy for MasterKeyState

Auto Trait Implementations

impl Freeze for MasterKeyState

impl RefUnwindSafe for MasterKeyState

impl Send for MasterKeyState

impl Sync for MasterKeyState

impl Unpin for MasterKeyState

impl UnsafeUnpin for MasterKeyState

impl UnwindSafe for MasterKeyState