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>>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostCreateInterceptor<T>>
pub fn execute(&self, ctx: NamespaceDefPostCreateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: NamespaceDefPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: NamespaceDefPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn NamespaceDefPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: NamespaceDefPreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreInsertInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPreInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostInsertInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPostInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferPostDeleteInterceptor<T>>
pub fn execute(&self, ctx: RingBufferPostDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostCreateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostCreateInterceptor<T>>
pub fn execute(&self, ctx: RingBufferDefPostCreateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: RingBufferDefPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: RingBufferDefPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn RingBufferDefPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: RingBufferDefPreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreInsertInterceptor<T>>
pub fn execute(&self, ctx: TablePreInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostInsertInterceptor<T>>
pub fn execute(&self, ctx: TablePostInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreUpdateInterceptor<T>>
pub fn execute(&self, ctx: TablePreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostUpdateInterceptor<T>>
pub fn execute(&self, ctx: TablePostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePreDeleteInterceptor<T>>
pub fn execute(&self, ctx: TablePreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TablePostDeleteInterceptor<T>>
pub fn execute(&self, ctx: TablePostDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostCreateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostCreateInterceptor<T>>
pub fn execute(&self, ctx: TableDefPostCreateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: TableDefPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: TableDefPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn TableDefPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: TableDefPreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn PreCommitInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn PreCommitInterceptor<T>>
pub fn execute(&self, ctx: PreCommitContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn PostCommitInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn PostCommitInterceptor<T>>
pub fn execute(&self, ctx: PostCommitContext) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreInsertInterceptor<T>>
pub fn execute(&self, ctx: ViewPreInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostInsertInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostInsertInterceptor<T>>
pub fn execute(&self, ctx: ViewPostInsertContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: ViewPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: ViewPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: ViewPreDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewPostDeleteInterceptor<T>>
pub fn execute(&self, ctx: ViewPostDeleteContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostCreateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostCreateInterceptor<T>>
pub fn execute(&self, ctx: ViewDefPostCreateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreUpdateInterceptor<T>>
pub fn execute(&self, ctx: ViewDefPreUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostUpdateInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPostUpdateInterceptor<T>>
pub fn execute(&self, ctx: ViewDefPostUpdateContext<'_, T>) -> Result<()>
Source§impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreDeleteInterceptor<T>>
impl<T: CommandTransaction> InterceptorChain<T, dyn ViewDefPreDeleteInterceptor<T>>
pub fn execute(&self, ctx: ViewDefPreDeleteContext<'_, 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)