pub struct InterceptorChain<T: CommandTransaction, I: ?Sized> { /* private fields */ }Expand description
Chain for a specific interceptor type
Implementations§
Source§impl<T: CommandTransaction, I: ?Sized> InterceptorChain<T, I>
impl<T: CommandTransaction, I: ?Sized> InterceptorChain<T, I>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostCreateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostCreateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: NamespaceDefPostCreateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: NamespaceDefPreUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: NamespaceDefPostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: NamespaceDefPreDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreInsertInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreInsertInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPreInsertContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostInsertInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostInsertInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPostInsertContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPreUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPreDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferPostDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostCreateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostCreateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferDefPostCreateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferDefPreUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferDefPostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: RingBufferDefPreDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreInsertInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreInsertInterceptor<T> + Send + Sync>
pub async fn execute<'a>(&self, ctx: TablePreInsertContext<'a, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostInsertInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostInsertInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TablePostInsertContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>(&self, ctx: TablePreUpdateContext<'a, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TablePostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>(&self, ctx: TablePreDeleteContext<'a, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TablePostDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostCreateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostCreateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TableDefPostCreateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TableDefPreUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TableDefPostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: TableDefPreDeleteContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn PreCommitInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn PreCommitInterceptor<T> + Send + Sync>
pub async fn execute<'a>(&self, ctx: PreCommitContext<'a, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn PostCommitInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn PostCommitInterceptor<T> + Send + Sync>
pub async fn execute(&self, ctx: PostCommitContext) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostCreateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostCreateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: ViewDefPostCreateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: ViewDefPreUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostUpdateInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostUpdateInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: ViewDefPostUpdateContext<'a, T>, ) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreDeleteInterceptor<T> + Send + Sync>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreDeleteInterceptor<T> + Send + Sync>
pub async fn execute<'a>( &self, ctx: ViewDefPreDeleteContext<'a, T>, ) -> Result<()>
Trait Implementations§
Source§impl<T: CommandTransaction, I: ?Sized> Clone for InterceptorChain<T, I>
impl<T: CommandTransaction, I: ?Sized> Clone for InterceptorChain<T, I>
Source§impl<T: CommandTransaction, I: ?Sized> Default for InterceptorChain<T, I>
impl<T: CommandTransaction, I: ?Sized> Default for InterceptorChain<T, I>
Auto Trait Implementations§
impl<T, I> Freeze for InterceptorChain<T, I>where
I: ?Sized,
impl<T, I> RefUnwindSafe for InterceptorChain<T, I>
impl<T, I> Send for InterceptorChain<T, I>
impl<T, I> Sync for InterceptorChain<T, I>
impl<T, I> Unpin for InterceptorChain<T, I>
impl<T, I> UnwindSafe for InterceptorChain<T, I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more