pub enum CryptTokenInfo {
    Invalid,
    Inactive,
    Internal(String),
    InternalUnknown(String),
    External(String),
    ExternalUnknown(String),
}
Expand description

Type representing the token status. This type wraps the CRYPT_TOKEN_* values and the optional corresponding token type as a string.

Variants

Invalid

Token invalid

Inactive

Token is free (empty)

Internal(String)

Active internal token with driver

InternalUnknown(String)

Active internal token (reserved name) with missing token driver

External(String)

Active external (user defined) token with driver

ExternalUnknown(String)

Active external (user defined) token with missing token driver

Implementations

Convert a token status code into CryptTokenInfo

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.