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