pub trait ArchiveStore: Send + Sync {
// Required methods
fn archive_session<'life0, 'life1, 'async_trait>(
&'life0 self,
session: &'life1 Session,
) -> Pin<Box<dyn Future<Output = Result<String, SessionStoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn restore_session<'life0, 'life1, 'async_trait>(
&'life0 self,
archive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Session, SessionStoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn delete_archive<'life0, 'life1, 'async_trait>(
&'life0 self,
archive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), SessionStoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Archive store trait for cold storage