pub struct StandardInterceptorBuilder<CT: CommandTransaction> { /* private fields */ }Expand description
Builder for configuring interceptors using factory functions This allows building a Send+Sync factory that creates non-Send/Sync interceptors
Implementations§
Source§impl<CT: CommandTransaction> StandardInterceptorBuilder<CT>
impl<CT: CommandTransaction> StandardInterceptorBuilder<CT>
pub fn new() -> Self
pub fn add_factory<F>(self, factory: F) -> Self
pub fn build(self) -> StandardInterceptorFactory<CT>
Trait Implementations§
Source§impl<CT: CommandTransaction> Default for StandardInterceptorBuilder<CT>
impl<CT: CommandTransaction> Default for StandardInterceptorBuilder<CT>
Auto Trait Implementations§
impl<CT> Freeze for StandardInterceptorBuilder<CT>
impl<CT> !RefUnwindSafe for StandardInterceptorBuilder<CT>
impl<CT> Send for StandardInterceptorBuilder<CT>
impl<CT> Sync for StandardInterceptorBuilder<CT>
impl<CT> Unpin for StandardInterceptorBuilder<CT>
impl<CT> !UnwindSafe for StandardInterceptorBuilder<CT>
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