pub trait WithInterceptors<CT: CommandTransaction> {
Show 30 methods
// Required methods
fn table_pre_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreInsertInterceptor<CT> + Send + Sync>;
fn table_post_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostInsertInterceptor<CT> + Send + Sync>;
fn table_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreUpdateInterceptor<CT> + Send + Sync>;
fn table_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostUpdateInterceptor<CT> + Send + Sync>;
fn table_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreDeleteInterceptor<CT> + Send + Sync>;
fn table_post_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostDeleteInterceptor<CT> + Send + Sync>;
fn ringbuffer_pre_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreInsertInterceptor<CT> + Send + Sync>;
fn ringbuffer_post_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostInsertInterceptor<CT> + Send + Sync>;
fn ringbuffer_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreUpdateInterceptor<CT> + Send + Sync>;
fn ringbuffer_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostUpdateInterceptor<CT> + Send + Sync>;
fn ringbuffer_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreDeleteInterceptor<CT> + Send + Sync>;
fn ringbuffer_post_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostDeleteInterceptor<CT> + Send + Sync>;
fn pre_commit_interceptors(
&mut self,
) -> &mut Chain<CT, dyn PreCommitInterceptor<CT> + Send + Sync>;
fn post_commit_interceptors(
&mut self,
) -> &mut Chain<CT, dyn PostCommitInterceptor<CT> + Send + Sync>;
fn namespace_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPostCreateInterceptor<CT> + Send + Sync>;
fn namespace_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPreUpdateInterceptor<CT> + Send + Sync>;
fn namespace_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPostUpdateInterceptor<CT> + Send + Sync>;
fn namespace_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPreDeleteInterceptor<CT> + Send + Sync>;
fn table_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPostCreateInterceptor<CT> + Send + Sync>;
fn table_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPreUpdateInterceptor<CT> + Send + Sync>;
fn table_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPostUpdateInterceptor<CT> + Send + Sync>;
fn table_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPreDeleteInterceptor<CT> + Send + Sync>;
fn view_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPostCreateInterceptor<CT> + Send + Sync>;
fn view_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPreUpdateInterceptor<CT> + Send + Sync>;
fn view_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPostUpdateInterceptor<CT> + Send + Sync>;
fn view_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPreDeleteInterceptor<CT> + Send + Sync>;
fn ringbuffer_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPostCreateInterceptor<CT> + Send + Sync>;
fn ringbuffer_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPreUpdateInterceptor<CT> + Send + Sync>;
fn ringbuffer_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPostUpdateInterceptor<CT> + Send + Sync>;
fn ringbuffer_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPreDeleteInterceptor<CT> + Send + Sync>;
}Expand description
Trait for accessing interceptor chains from transaction types
Required Methods§
Sourcefn table_pre_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreInsertInterceptor<CT> + Send + Sync>
fn table_pre_insert_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePreInsertInterceptor<CT> + Send + Sync>
Access table pre-insert interceptor chain
Sourcefn table_post_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostInsertInterceptor<CT> + Send + Sync>
fn table_post_insert_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePostInsertInterceptor<CT> + Send + Sync>
Access table post-insert interceptor chain
Sourcefn table_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreUpdateInterceptor<CT> + Send + Sync>
fn table_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePreUpdateInterceptor<CT> + Send + Sync>
Access table pre-update interceptor chain
Sourcefn table_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostUpdateInterceptor<CT> + Send + Sync>
fn table_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePostUpdateInterceptor<CT> + Send + Sync>
Access table post-update interceptor chain
Sourcefn table_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePreDeleteInterceptor<CT> + Send + Sync>
fn table_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePreDeleteInterceptor<CT> + Send + Sync>
Access table pre-delete interceptor chain
Sourcefn table_post_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TablePostDeleteInterceptor<CT> + Send + Sync>
fn table_post_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn TablePostDeleteInterceptor<CT> + Send + Sync>
Access table post-delete interceptor chain
Sourcefn ringbuffer_pre_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreInsertInterceptor<CT> + Send + Sync>
fn ringbuffer_pre_insert_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPreInsertInterceptor<CT> + Send + Sync>
Access ring buffer pre-insert interceptor chain
Sourcefn ringbuffer_post_insert_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostInsertInterceptor<CT> + Send + Sync>
fn ringbuffer_post_insert_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPostInsertInterceptor<CT> + Send + Sync>
Access ring buffer post-insert interceptor chain
Sourcefn ringbuffer_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreUpdateInterceptor<CT> + Send + Sync>
fn ringbuffer_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPreUpdateInterceptor<CT> + Send + Sync>
Access ring buffer pre-update interceptor chain
Sourcefn ringbuffer_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostUpdateInterceptor<CT> + Send + Sync>
fn ringbuffer_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPostUpdateInterceptor<CT> + Send + Sync>
Access ring buffer post-update interceptor chain
Sourcefn ringbuffer_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPreDeleteInterceptor<CT> + Send + Sync>
fn ringbuffer_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPreDeleteInterceptor<CT> + Send + Sync>
Access ring buffer pre-delete interceptor chain
Sourcefn ringbuffer_post_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferPostDeleteInterceptor<CT> + Send + Sync>
fn ringbuffer_post_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferPostDeleteInterceptor<CT> + Send + Sync>
Access ring buffer post-delete interceptor chain
Sourcefn pre_commit_interceptors(
&mut self,
) -> &mut Chain<CT, dyn PreCommitInterceptor<CT> + Send + Sync>
fn pre_commit_interceptors( &mut self, ) -> &mut Chain<CT, dyn PreCommitInterceptor<CT> + Send + Sync>
Access pre-commit interceptor chain
Sourcefn post_commit_interceptors(
&mut self,
) -> &mut Chain<CT, dyn PostCommitInterceptor<CT> + Send + Sync>
fn post_commit_interceptors( &mut self, ) -> &mut Chain<CT, dyn PostCommitInterceptor<CT> + Send + Sync>
Access post-commit interceptor chain
Sourcefn namespace_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPostCreateInterceptor<CT> + Send + Sync>
fn namespace_def_post_create_interceptors( &mut self, ) -> &mut Chain<CT, dyn NamespaceDefPostCreateInterceptor<CT> + Send + Sync>
Access namespace post-create interceptor chain
Sourcefn namespace_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPreUpdateInterceptor<CT> + Send + Sync>
fn namespace_def_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn NamespaceDefPreUpdateInterceptor<CT> + Send + Sync>
Access namespace pre-update interceptor chain
Sourcefn namespace_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPostUpdateInterceptor<CT> + Send + Sync>
fn namespace_def_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn NamespaceDefPostUpdateInterceptor<CT> + Send + Sync>
Access namespace post-update interceptor chain
Sourcefn namespace_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn NamespaceDefPreDeleteInterceptor<CT> + Send + Sync>
fn namespace_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn NamespaceDefPreDeleteInterceptor<CT> + Send + Sync>
Access namespace pre-delete interceptor chain
Sourcefn table_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPostCreateInterceptor<CT> + Send + Sync>
fn table_def_post_create_interceptors( &mut self, ) -> &mut Chain<CT, dyn TableDefPostCreateInterceptor<CT> + Send + Sync>
Access table definition post-create interceptor chain
Sourcefn table_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPreUpdateInterceptor<CT> + Send + Sync>
fn table_def_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn TableDefPreUpdateInterceptor<CT> + Send + Sync>
Access table definition pre-update interceptor chain
Sourcefn table_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPostUpdateInterceptor<CT> + Send + Sync>
fn table_def_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn TableDefPostUpdateInterceptor<CT> + Send + Sync>
Access table definition post-update interceptor chain
Sourcefn table_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn TableDefPreDeleteInterceptor<CT> + Send + Sync>
fn table_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn TableDefPreDeleteInterceptor<CT> + Send + Sync>
Access table definition pre-delete interceptor chain
Sourcefn view_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPostCreateInterceptor<CT> + Send + Sync>
fn view_def_post_create_interceptors( &mut self, ) -> &mut Chain<CT, dyn ViewDefPostCreateInterceptor<CT> + Send + Sync>
Access view post-create interceptor chain
Sourcefn view_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPreUpdateInterceptor<CT> + Send + Sync>
fn view_def_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn ViewDefPreUpdateInterceptor<CT> + Send + Sync>
Access view pre-update interceptor chain
Sourcefn view_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPostUpdateInterceptor<CT> + Send + Sync>
fn view_def_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn ViewDefPostUpdateInterceptor<CT> + Send + Sync>
Access view post-update interceptor chain
Sourcefn view_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn ViewDefPreDeleteInterceptor<CT> + Send + Sync>
fn view_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn ViewDefPreDeleteInterceptor<CT> + Send + Sync>
Access view pre-delete interceptor chain
Sourcefn ringbuffer_def_post_create_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPostCreateInterceptor<CT> + Send + Sync>
fn ringbuffer_def_post_create_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferDefPostCreateInterceptor<CT> + Send + Sync>
Access ring buffer definition post-create interceptor chain
Sourcefn ringbuffer_def_pre_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPreUpdateInterceptor<CT> + Send + Sync>
fn ringbuffer_def_pre_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferDefPreUpdateInterceptor<CT> + Send + Sync>
Access ring buffer definition pre-update interceptor chain
Sourcefn ringbuffer_def_post_update_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPostUpdateInterceptor<CT> + Send + Sync>
fn ringbuffer_def_post_update_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferDefPostUpdateInterceptor<CT> + Send + Sync>
Access ring buffer definition post-update interceptor chain
Sourcefn ringbuffer_def_pre_delete_interceptors(
&mut self,
) -> &mut Chain<CT, dyn RingBufferDefPreDeleteInterceptor<CT> + Send + Sync>
fn ringbuffer_def_pre_delete_interceptors( &mut self, ) -> &mut Chain<CT, dyn RingBufferDefPreDeleteInterceptor<CT> + Send + Sync>
Access ring buffer definition pre-delete interceptor chain