core_crypto_keystore/traits/
mod.rs

1// For now while we're just adding new entity traits, these imports will be unused.
2// In the future they should be reexported at the crate level and this module should become private.
3// It only exists for the moment to ensure that everything compiles.
4#![expect(unused)]
5
6mod entity;
7mod entity_base;
8mod entity_database_mutation;
9mod fetch_from_database;
10mod item_encryption;
11mod key_type;
12mod primary_key;
13mod unique_entity;
14
15pub use entity::{Entity, EntityGetBorrowed};
16pub use entity_base::EntityBase;
17pub use entity_database_mutation::{EntityDatabaseMutation, EntityDeleteBorrowed};
18pub use fetch_from_database::FetchFromDatabase;
19pub use item_encryption::{
20    DecryptData, DecryptWithExplicitEncryptionKey, Decryptable, Decrypting, EncryptData,
21    EncryptWithExplicitEncryptionKey, Encrypting, EncryptionKey,
22};
23pub use key_type::{KeyType, OwnedKeyType};
24pub use primary_key::{BorrowPrimaryKey, PrimaryKey};
25pub use unique_entity::{UniqueEntity, UniqueEntityExt, UniqueEntityImplementationHelper};