pub struct DefaultExecutor<Output> {
pub _phantom: PhantomData<Output>,
}Fields§
§_phantom: PhantomData<Output>Trait Implementations§
Source§impl<E, Output> HandlerExecutor<E> for DefaultExecutor<Output>
impl<E, Output> HandlerExecutor<E> for DefaultExecutor<Output>
fn execute_handlers<'life0, 'life1, 'async_trait>(
&'life0 self,
executables: Arc<LoadedChain<E>>,
exchange: &'life1 mut E,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, ExecutorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn return_output<'life0, 'async_trait>(
exchange: &'life0 mut E,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, ExecutorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_handler<'life0, 'life1, 'async_trait>(
handlers: &'life0 Vec<Arc<dyn Handler<Exchange>>>,
exchange: &'life1 mut Exchange,
) -> Pin<Box<dyn Future<Output = Result<bool, ExecutorError>> + Send + 'async_trait>>where
Exchange: ExtractOutput<Self::Output> + Send + Sync,
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<Output> Freeze for DefaultExecutor<Output>where
PhantomData<Output>: Freeze,
impl<Output> RefUnwindSafe for DefaultExecutor<Output>where
PhantomData<Output>: RefUnwindSafe,
impl<Output> Send for DefaultExecutor<Output>where
PhantomData<Output>: Send,
impl<Output> Sync for DefaultExecutor<Output>where
PhantomData<Output>: Sync,
impl<Output> Unpin for DefaultExecutor<Output>where
PhantomData<Output>: Unpin,
impl<Output> UnsafeUnpin for DefaultExecutor<Output>where
PhantomData<Output>: UnsafeUnpin,
impl<Output> UnwindSafe for DefaultExecutor<Output>where
PhantomData<Output>: UnwindSafe,
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