Trait redact_crypto::key::ToSymmetricByteAlgorithm[][src]

pub trait ToSymmetricByteAlgorithm {
    type Key: StorableType;
    type Nonce;
    fn to_byte_algorithm<'async_trait, F, Fut>(
        self,
        nonce: Option<Self::Nonce>,
        f: F
    ) -> Pin<Box<dyn Future<Output = Result<ByteAlgorithm, CryptoError>> + Send + 'async_trait>>
    where
        F: FnOnce(Self::Key) -> Fut + Send,
        Fut: Future<Output = Result<Entry<Self::Key>, CryptoError>> + Send,
        F: 'async_trait,
        Fut: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Required methods

Implementors