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 + Send>> { ... }
}
Provided Methods§
fn attribute_for_index( &self, _index_name: &str, _index_type: IndexType, ) -> Option<ComposablePlaintext>
sourcefn protected_indexes() -> Cow<'static, [(Cow<'static, str>, IndexType)]>
fn protected_indexes() -> Cow<'static, [(Cow<'static, str>, IndexType)]>
Returns of indexes with their name and type.
fn index_by_name( _index_name: &str, _index_type: IndexType, ) -> Option<Box<dyn ComposableIndex + Send>>
Object Safety§
This trait is not object safe.