Module storage

Source
Expand description

Session storage backends

This module provides different storage backends for session persistence:

  • MemoryStorage: In-memory storage for testing and temporary sessions
  • LocalStorage: Browser localStorage backend for WASM
  • FileSystemStorage: Filesystem backend for native applications
  • EncryptedStorage: Wrapper for encrypted storage

Structs§

EncryptedStorage
Encrypted storage wrapper
FileSystemStorage
Filesystem-based storage for native applications
MemoryStorage
In-memory session storage (not persistent across restarts)

Enums§

StorageBackend
Enum-based storage backend for dyn compatibility

Functions§

create_default_storage
Factory function to create the appropriate storage backend