Enum rustis::commands::ExpireOption
source · pub enum ExpireOption {
None,
Nx,
Xx,
Gt,
Lt,
}Expand description
Options for the expire command
Variants§
None
No option
Nx
Set expiry only when the key has no expiry
Xx
Set expiry only when the key has no expiry
Gt
Set expiry only when the new expiry is greater than current one
Lt
Set expiry only when the new expiry is less than current one