pub struct StandardInterceptorFactory<CT: CommandTransaction> { /* private fields */ }Expand description
Standard implementation of InterceptorFactory that stores factory functions This allows the factory to be Send+Sync while creating non-Send/Sync interceptors
Implementations§
Source§impl<CT: CommandTransaction> StandardInterceptorFactory<CT>
impl<CT: CommandTransaction> StandardInterceptorFactory<CT>
Trait Implementations§
Source§impl<CT: CommandTransaction> Default for StandardInterceptorFactory<CT>
impl<CT: CommandTransaction> Default for StandardInterceptorFactory<CT>
Source§impl<CT: CommandTransaction> InterceptorFactory<CT> for StandardInterceptorFactory<CT>
impl<CT: CommandTransaction> InterceptorFactory<CT> for StandardInterceptorFactory<CT>
Source§fn create(&self) -> Interceptors<CT>
fn create(&self) -> Interceptors<CT>
Create a new instance of interceptors for a CommandTransaction
Auto Trait Implementations§
impl<CT> Freeze for StandardInterceptorFactory<CT>
impl<CT> !RefUnwindSafe for StandardInterceptorFactory<CT>
impl<CT> Send for StandardInterceptorFactory<CT>
impl<CT> Sync for StandardInterceptorFactory<CT>
impl<CT> Unpin for StandardInterceptorFactory<CT>
impl<CT> !UnwindSafe for StandardInterceptorFactory<CT>
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