NamespaceDefInterceptor

Trait NamespaceDefInterceptor 

Source
pub trait NamespaceDefInterceptor<CT: CommandTransaction> {
    // Required methods
    fn post_create<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        post: &'life1 NamespaceDef,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn pre_update<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        pre: &'life1 NamespaceDef,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn post_update<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        pre: &'life1 NamespaceDef,
        post: &'life2 NamespaceDef,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn pre_delete<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        pre: &'life1 NamespaceDef,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn post_create<'life0, 'life1, 'async_trait>( &'life0 mut self, post: &'life1 NamespaceDef, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Intercept namespace post-create operations

Source

fn pre_update<'life0, 'life1, 'async_trait>( &'life0 mut self, pre: &'life1 NamespaceDef, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Intercept namespace pre-update operations

Source

fn post_update<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, pre: &'life1 NamespaceDef, post: &'life2 NamespaceDef, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Intercept namespace post-update operations

Source

fn pre_delete<'life0, 'life1, 'async_trait>( &'life0 mut self, pre: &'life1 NamespaceDef, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Intercept namespace pre-delete operations

Implementors§