pub trait ExtendedSessionStore {
// Required methods
fn session_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn clear_all_sessions<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_session<'life0, 'life1, 'async_trait>(
&'life0 mut self,
address: &'life1 ProtocolAddress,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Extended operations for session storage beyond libsignal’s SessionStore