core_crypto_keystore::entities

Trait PersistedMlsGroupExt

Source
pub trait PersistedMlsGroupExt: Entity {
    // Required method
    fn parent_id(&self) -> Option<&[u8]>;

    // Provided methods
    fn parent_group<'life0, 'life1, 'async_trait>(
        &'life0 self,
        conn: &'life1 mut <Self as EntityBase>::ConnectionType,
    ) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Option<Self>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn child_groups<'life0, 'life1, 'async_trait>(
        &'life0 self,
        conn: &'life1 mut <Self as EntityBase>::ConnectionType,
    ) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Vec<Self>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Required Methods§

Source

fn parent_id(&self) -> Option<&[u8]>

Provided Methods§

Source

fn parent_group<'life0, 'life1, 'async_trait>( &'life0 self, conn: &'life1 mut <Self as EntityBase>::ConnectionType, ) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Option<Self>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn child_groups<'life0, 'life1, 'async_trait>( &'life0 self, conn: &'life1 mut <Self as EntityBase>::ConnectionType, ) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Vec<Self>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: '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§