PartyStore

Trait PartyStore 

Source
pub trait PartyStore
where Self: Store,
{ // Required methods fn delete_party<'life0, 'async_trait>( &'life0 self, party_id: <Self::PartyModel as Party>::Id, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn save_new_party<'life0, 'async_trait>( &'life0 self, temporary_model: Self::RegistrationModel, credentials: Credential, details: VersionDetails, ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_party<'life0, 'async_trait>( &'life0 self, model: Self::PartyModel, credentials: Credential, details: VersionDetails, ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_our_roles<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<CredentialsRole>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }

Required Methods§

Source

fn delete_party<'life0, 'async_trait>( &'life0 self, party_id: <Self::PartyModel as Party>::Id, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn save_new_party<'life0, 'async_trait>( &'life0 self, temporary_model: Self::RegistrationModel, credentials: Credential, details: VersionDetails, ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_party<'life0, 'async_trait>( &'life0 self, model: Self::PartyModel, credentials: Credential, details: VersionDetails, ) -> Pin<Box<dyn Future<Output = Result<Self::PartyModel>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_our_roles<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<CredentialsRole>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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§