pub struct InterceptorChain<I: ?Sized> { /* private fields */ }Expand description
Chain for a specific interceptor type
Implementations§
Source§impl<I: ?Sized> InterceptorChain<I>
impl<I: ?Sized> InterceptorChain<I>
Source§impl InterceptorChain<dyn NamespacePostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn NamespacePostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: NamespacePostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn NamespacePreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn NamespacePreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: NamespacePreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn NamespacePostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn NamespacePostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: NamespacePostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn NamespacePreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn NamespacePreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: NamespacePreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPreInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPostInsertInterceptor + Send + Sync>
pub fn execute<'a>(&self, ctx: RingBufferPostInsertContext<'a>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferDefPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferDefPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferDefPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferDefPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferDefPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferDefPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferDefPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferDefPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferDefPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferDefPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferDefPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferDefPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePreInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableDefPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn TableDefPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableDefPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableDefPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TableDefPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableDefPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableDefPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TableDefPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableDefPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableDefPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn TableDefPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableDefPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn PreCommitInterceptor + Send + Sync>
impl InterceptorChain<dyn PreCommitInterceptor + Send + Sync>
pub fn execute(&self, ctx: &mut PreCommitContext) -> Result<()>
Source§impl InterceptorChain<dyn PostCommitInterceptor + Send + Sync>
impl InterceptorChain<dyn PostCommitInterceptor + Send + Sync>
pub fn execute(&self, ctx: PostCommitContext) -> Result<()>
Source§impl InterceptorChain<dyn ViewPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPreInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewDefPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewDefPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewDefPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewDefPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewDefPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewDefPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewDefPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewDefPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewDefPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewDefPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewDefPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewDefPreDeleteContext<'_>) -> Result<()>
Trait Implementations§
Source§impl<I: ?Sized> Clone for InterceptorChain<I>
impl<I: ?Sized> Clone for InterceptorChain<I>
Auto Trait Implementations§
impl<I> Freeze for InterceptorChain<I>where
I: ?Sized,
impl<I> RefUnwindSafe for InterceptorChain<I>where
I: RefUnwindSafe + ?Sized,
impl<I> Send for InterceptorChain<I>
impl<I> Sync for InterceptorChain<I>
impl<I> Unpin for InterceptorChain<I>where
I: ?Sized,
impl<I> UnsafeUnpin for InterceptorChain<I>where
I: ?Sized,
impl<I> UnwindSafe for InterceptorChain<I>where
I: RefUnwindSafe + ?Sized,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more