Crate tauri_plugin_cache

Source

Structs§

BooleanResponse
Response containing a boolean value
CacheConfig
Configuration options for the cache plugin
CacheItem
A cache item with its value and expiration time
CacheStats
Enhanced statistics about the cache
CompressionConfig
Enhanced configuration for cache compression
EmptyResponse
Empty response for operations that don’t return a value
GetRequest
Request to get an item from the cache
HasRequest
Request to check if an item exists in the cache
RemoveRequest
Request to remove an item from the cache
SetItemOptions
Options for setting an item in the cache
SetRequest
Request to set an item in the cache

Enums§

CompressionMethod
Supported compression methods
Error

Constants§

COMPRESSION_THRESHOLD

Traits§

CacheExt
Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the cache APIs.

Functions§

init
Initializes the plugin.
init_with_config
Initializes the plugin with custom configuration.

Type Aliases§

Result