Skip to main content

ProfileStore

Trait ProfileStore 

Source
pub trait ProfileStore: Send + Sync {
    // Required methods
    fn read(&self) -> Result<ProfileSnapshot, ProfileStoreError>;
    fn lock_mutation(
        &self,
    ) -> Result<Box<dyn ProfileMutation + Send + '_>, ProfileStoreError>;
    fn credential_namespace(&self) -> Result<String, ProfileStoreError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§