ToEntry

Trait ToEntry 

Source
pub trait ToEntry: StorableType + Sized {
    // Provided methods
    fn to_ref_entry<S: Storer + Into<TypeStorer>>(
        self,
        path: EntryPath,
        storer: S,
    ) -> Result<Entry<Self>, CryptoError> { ... }
    fn to_sealed_entry<'async_trait>(
        self,
        path: EntryPath,
        algorithm: ByteAlgorithm,
    ) -> Pin<Box<dyn Future<Output = Result<Entry<Self>, CryptoError>> + Send + 'async_trait>>
       where Self: Send + 'async_trait { ... }
    fn to_unsealed_entry(
        self,
        path: EntryPath,
    ) -> Result<Entry<Self>, CryptoError> { ... }
}

Provided Methods§

Source

fn to_ref_entry<S: Storer + Into<TypeStorer>>( self, path: EntryPath, storer: S, ) -> Result<Entry<Self>, CryptoError>

Source

fn to_sealed_entry<'async_trait>( self, path: EntryPath, algorithm: ByteAlgorithm, ) -> Pin<Box<dyn Future<Output = Result<Entry<Self>, CryptoError>> + Send + 'async_trait>>
where Self: Send + 'async_trait,

Source

fn to_unsealed_entry(self, path: EntryPath) -> Result<Entry<Self>, CryptoError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§