pub struct InterceptorChain<I: ?Sized> { /* private fields */ }Expand description
Chain for a specific interceptor type
Implementations§
Source§impl InterceptorChain<dyn AuthenticationPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn AuthenticationPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: AuthenticationPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn AuthenticationPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn AuthenticationPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: AuthenticationPreDeleteContext<'_>) -> Result<()>
Source§impl<I: ?Sized> InterceptorChain<I>
impl<I: ?Sized> InterceptorChain<I>
Source§impl InterceptorChain<dyn DictionaryPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryRowPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPreInsertContext<'_>) -> Result<Value>
Source§impl InterceptorChain<dyn DictionaryRowPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryRowPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPreUpdateContext<'_>) -> Result<Value>
Source§impl InterceptorChain<dyn DictionaryRowPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryRowPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn DictionaryRowPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn DictionaryRowPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: DictionaryRowPostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn GrantedRolePostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn GrantedRolePostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: GrantedRolePostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn GrantedRolePreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn GrantedRolePreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: GrantedRolePreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn IdentityPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn IdentityPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: IdentityPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn IdentityPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn IdentityPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: IdentityPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn IdentityPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn IdentityPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: IdentityPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn IdentityPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn IdentityPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: IdentityPreDeleteContext<'_>) -> Result<()>
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 RingBufferPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferPostCreateContext<'_>) -> 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 RingBufferRowPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPreInsertInterceptor + Send + Sync>
pub fn execute( &self, ctx: RingBufferRowPreInsertContext<'_>, ) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn RingBufferRowPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPostInsertInterceptor + Send + Sync>
pub fn execute<'a>(&self, ctx: RingBufferRowPostInsertContext<'a>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferRowPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPreUpdateInterceptor + Send + Sync>
pub fn execute( &self, ctx: RingBufferRowPreUpdateContext<'_>, ) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn RingBufferRowPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferRowPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferRowPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferRowPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RingBufferRowPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RingBufferRowPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RingBufferRowPostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RolePostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn RolePostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RolePostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RolePreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RolePreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RolePreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RolePostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn RolePostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: RolePostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn RolePreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn RolePreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: RolePreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesPostCreateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesPreUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesRowPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPreInsertContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn SeriesRowPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesRowPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPreUpdateContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn SeriesRowPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesRowPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn SeriesRowPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn SeriesRowPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: SeriesRowPostDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TablePostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn TablePostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TablePostCreateContext<'_>) -> 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 TableRowPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPreInsertContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn TableRowPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableRowPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPreUpdateContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn TableRowPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableRowPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn TableRowPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn TableRowPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: TableRowPostDeleteContext<'_>) -> 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 ViewPostCreateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewPostCreateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewPostCreateContext<'_>) -> 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 ViewRowPreInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPreInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPreInsertContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn ViewRowPostInsertInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPostInsertInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPostInsertContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewRowPreUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPreUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPreUpdateContext<'_>) -> Result<EncodedRow>
Source§impl InterceptorChain<dyn ViewRowPostUpdateInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPostUpdateInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPostUpdateContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewRowPreDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPreDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPreDeleteContext<'_>) -> Result<()>
Source§impl InterceptorChain<dyn ViewRowPostDeleteInterceptor + Send + Sync>
impl InterceptorChain<dyn ViewRowPostDeleteInterceptor + Send + Sync>
pub fn execute(&self, ctx: ViewRowPostDeleteContext<'_>) -> 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