pub struct MatchFirstWithHandlers<Handlers>(pub PhantomData<Handlers>);Tuple Fields§
§0: PhantomData<Handlers>Trait Implementations§
Source§impl<Context, Code, Input, Args, Output, Remainder, Handlers> AsyncComputer<Context, Code, (Input, Args)> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: AsyncComputer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
impl<Context, Code, Input, Args, Output, Remainder, Handlers> AsyncComputer<Context, Code, (Input, Args)> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: AsyncComputer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
type Output = Output
async fn compute_async( context: &Context, code: PhantomData<Code>, __arg2: (Input, Args), ) -> Output
Source§impl<Context, Code, Input, Args, Output, Remainder, Handlers> Computer<Context, Code, (Input, Args)> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: Computer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
impl<Context, Code, Input, Args, Output, Remainder, Handlers> Computer<Context, Code, (Input, Args)> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: Computer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
type Output = Output
fn compute( context: &Context, code: PhantomData<Code>, (input, args): (Input, Args), ) -> Output
impl<Context, Code, Input, Args, Output, Remainder, Handlers> IsProviderFor<AsyncComputerComponent, Context, (Code, (Input, Args))> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: IsProviderFor<AsyncComputerComponent, Context, (Code, (Input::Extractor, Args))> + AsyncComputer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
impl<Context, Code, Input, Args, Output, Remainder, Handlers> IsProviderFor<ComputerComponent, Context, (Code, (Input, Args))> for MatchFirstWithHandlers<Handlers>where
Input: HasExtractor,
DispatchMatchers<Handlers>: IsProviderFor<ComputerComponent, Context, (Code, (Input::Extractor, Args))> + Computer<Context, Code, (Input::Extractor, Args), Output = Result<Output, (Remainder, Args)>>,
Remainder: FinalizeExtract,
Auto Trait Implementations§
impl<Handlers> Freeze for MatchFirstWithHandlers<Handlers>
impl<Handlers> RefUnwindSafe for MatchFirstWithHandlers<Handlers>where
Handlers: RefUnwindSafe,
impl<Handlers> Send for MatchFirstWithHandlers<Handlers>where
Handlers: Send,
impl<Handlers> Sync for MatchFirstWithHandlers<Handlers>where
Handlers: Sync,
impl<Handlers> Unpin for MatchFirstWithHandlers<Handlers>where
Handlers: Unpin,
impl<Handlers> UnsafeUnpin for MatchFirstWithHandlers<Handlers>
impl<Handlers> UnwindSafe for MatchFirstWithHandlers<Handlers>where
Handlers: 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