pub struct HandlerExecutorBuilder<T: KeyValueStore + 'static> { /* private fields */ }Expand description
Builder pattern for HandlerExecutor
Implementations§
Source§impl<T: KeyValueStore + 'static> HandlerExecutorBuilder<T>
impl<T: KeyValueStore + 'static> HandlerExecutorBuilder<T>
pub fn new() -> Self
pub fn with_handler(self, handler: Arc<UnifiedHandler<T>>) -> Self
pub fn with_mode(self, mode: ExecutionMode) -> Self
pub fn build(self) -> HandlerExecutor<T>
Trait Implementations§
Source§impl<T: KeyValueStore + 'static> Default for HandlerExecutorBuilder<T>
impl<T: KeyValueStore + 'static> Default for HandlerExecutorBuilder<T>
Auto Trait Implementations§
impl<T> Freeze for HandlerExecutorBuilder<T>
impl<T> !RefUnwindSafe for HandlerExecutorBuilder<T>
impl<T> Send for HandlerExecutorBuilder<T>
impl<T> Sync for HandlerExecutorBuilder<T>
impl<T> Unpin for HandlerExecutorBuilder<T>
impl<T> !UnwindSafe for HandlerExecutorBuilder<T>
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