pub trait Algorithm {
type Source;
type Output;
fn unseal<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 Self::Source
) -> Pin<Box<dyn Future<Output = Result<Self::Output, CryptoError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn seal<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 Self::Source
) -> Pin<Box<dyn Future<Output = Result<Self::Output, CryptoError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}