Trait cipherstash_dynamodb::traits::Searchable

source ·
pub trait Searchable: Encryptable {
    // Provided methods
    fn attribute_for_index(
        &self,
        _index_name: &str,
        _index_type: IndexType,
    ) -> Option<ComposablePlaintext> { ... }
    fn protected_indexes() -> Cow<'static, [(Cow<'static, str>, IndexType)]> { ... }
    fn index_by_name(
        _index_name: &str,
        _index_type: IndexType,
    ) -> Option<Box<dyn ComposableIndex>> { ... }
}

Provided Methods§

source

fn attribute_for_index( &self, _index_name: &str, _index_type: IndexType, ) -> Option<ComposablePlaintext>

source

fn protected_indexes() -> Cow<'static, [(Cow<'static, str>, IndexType)]>

source

fn index_by_name( _index_name: &str, _index_type: IndexType, ) -> Option<Box<dyn ComposableIndex>>

Object Safety§

This trait is not object safe.

Implementors§