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