pub enum TokenInput<'a> {
    AddToken(&'a Value),
    ReplaceToken(c_uint, &'a Value),
    RemoveToken(c_uint),
}
Expand description

Token input for CryptLuks2Token::json_set

Variants

AddToken(&'a Value)

Add a new token to any free slot

ReplaceToken(c_uint, &'a Value)

Replace the specified token

RemoveToken(c_uint)

Remove the specified token

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.