Skip to main content

Module storage

Module storage 

Source

Enums§

StorageBackend
Storage backend types

Functions§

clear
Clear all storage
clear_with_backend
Clear with specific backend
get
Get a value by key
get_bytes
Get binary data
get_json
Get a JSON-serializable value
get_with_backend
Get with specific backend
get_with_ttl
Get with automatic expiration check
has
Check if a key exists
keys
List all keys
keys_with_backend
Keys with specific backend
remove
Remove a key
remove_with_backend
Remove with specific backend
set
Store a key-value pair
set_bytes
Store binary data
set_json
Store a JSON-serializable value
set_with_backend
Store with specific backend
set_with_ttl
Set with expiration (seconds)

Type Aliases§

StorageResult