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,

Object Safety§

This trait is not object safe.

Implementors§