Enum libcryptsetup_rs::TokenInput
source · 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