Skip to main content

InterceptorChain

Struct InterceptorChain 

Source
pub struct InterceptorChain<I: ?Sized> { /* private fields */ }
Expand description

Chain for a specific interceptor type

Implementations§

Source§

impl InterceptorChain<dyn AuthenticationPostCreateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn AuthenticationPreDeleteInterceptor + Send + Sync>

Source§

impl<I: ?Sized> InterceptorChain<I>

Source

pub fn new() -> Self

Source

pub fn add(&mut self, interceptor: Arc<I>)

Source

pub fn is_empty(&self) -> bool

Source

pub fn len(&self) -> usize

Source

pub fn clear(&mut self)

Source§

impl InterceptorChain<dyn DictionaryPostCreateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryPostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryPreDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPreInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPostInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPreDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn DictionaryRowPostDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn GrantedRolePostCreateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn GrantedRolePreDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn IdentityPostCreateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: IdentityPostCreateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn IdentityPreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: IdentityPreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn IdentityPostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: IdentityPostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn IdentityPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: IdentityPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn NamespacePostCreateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn NamespacePreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: NamespacePreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn NamespacePostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn NamespacePreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: NamespacePreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn RingBufferPostCreateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferPostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferPreDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferRowPreInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferRowPostInsertInterceptor + Send + Sync>

Source

pub fn execute<'a>(&self, ctx: RingBufferRowPostInsertContext<'a>) -> Result<()>

Source§

impl InterceptorChain<dyn RingBufferRowPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferRowPostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferRowPreDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RingBufferRowPostDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn RolePostCreateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: RolePostCreateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn RolePreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: RolePreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn RolePostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: RolePostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn RolePreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: RolePreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesPostCreateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: SeriesPostCreateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesPreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: SeriesPreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesPostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: SeriesPostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: SeriesPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesRowPreInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn SeriesRowPostInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn SeriesRowPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn SeriesRowPostUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn SeriesRowPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: SeriesRowPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn SeriesRowPostDeleteInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn TablePostCreateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TablePostCreateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TablePreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TablePreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TablePostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TablePostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TablePreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TablePreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TableRowPreInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn TableRowPostInsertInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TableRowPostInsertContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TableRowPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn TableRowPostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TableRowPostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TableRowPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TableRowPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn TableRowPostDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: TableRowPostDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn PreCommitInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: &mut PreCommitContext) -> Result<()>

Source§

impl InterceptorChain<dyn PostCommitInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: PostCommitContext) -> Result<()>

Source§

impl InterceptorChain<dyn ViewPostCreateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewPostCreateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewPreUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewPreUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewPostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewPostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewRowPreInsertInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn ViewRowPostInsertInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewRowPostInsertContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewRowPreUpdateInterceptor + Send + Sync>

Source§

impl InterceptorChain<dyn ViewRowPostUpdateInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewRowPostUpdateContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewRowPreDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewRowPreDeleteContext<'_>) -> Result<()>

Source§

impl InterceptorChain<dyn ViewRowPostDeleteInterceptor + Send + Sync>

Source

pub fn execute(&self, ctx: ViewRowPostDeleteContext<'_>) -> Result<()>

Trait Implementations§

Source§

impl<I: ?Sized> Clone for InterceptorChain<I>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<I: ?Sized> Default for InterceptorChain<I>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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>
where I: Sync + Send + ?Sized,

§

impl<I> Sync for InterceptorChain<I>
where I: Sync + Send + ?Sized,

§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more