Skip to main content

Module session_repository

Module session_repository 

Source

Traits§

SessionRepository
Persists per-destination crypto sessions so they survive across sends and, where the implementation is durable, across restarts.

Type Aliases§

InMemorySessionRepository
An in-memory session repository implementation that stores sessions in a HashMap protected by an RwLock. This is a simple implementation that can be used for testing or in scenarios where persistence is not required.