Skip to main content

ApplicationStore

Trait ApplicationStore 

Source
pub trait ApplicationStore: Send + Sync {
    // Required methods
    fn create_application<'life0, 'async_trait>(
        &'life0 mut self,
        application: Application,
    ) -> Pin<Box<dyn Future<Output = Result<Application>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_application<'life0, 'life1, 'async_trait>(
        &'life0 self,
        application_arn: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Application>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_applications<'life0, 'life1, 'async_trait>(
        &'life0 self,
        instance_arn: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Application>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Trait for SSO application storage operations

Required Methods§

Source

fn create_application<'life0, 'async_trait>( &'life0 mut self, application: Application, ) -> Pin<Box<dyn Future<Output = Result<Application>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_application<'life0, 'life1, 'async_trait>( &'life0 self, application_arn: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<Application>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn list_applications<'life0, 'life1, 'async_trait>( &'life0 self, instance_arn: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Application>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ApplicationStore for InMemorySsoAdminStore

Source§

impl ApplicationStore for InMemoryWamiStore

Implement ApplicationStore for InMemoryWamiStore (the main unified store)