pub struct MatchWithHandlersRef<Handlers>(pub PhantomData<Handlers>);Tuple Fields§
§0: PhantomData<Handlers>Trait Implementations§
Source§impl<Context, Code, Input, Output, Handlers> Computer<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> Computer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code, Input, Output, Handlers> Computer<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> Computer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
Source§impl<Context, Code: Send, Input, Output, Handlers> Handler<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Context: HasAsyncErrorType,
Input: Send + Sync + HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> Handler<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code: Send, Input, Output, Handlers> Handler<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Context: HasAsyncErrorType,
Input: Send + Sync + HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> Handler<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
Source§impl<Context, Code, Input, Output, Handlers> TryComputer<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Context: HasErrorType,
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> TryComputer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code, Input, Output, Handlers> TryComputer<Context, Code, &Input> for MatchWithHandlersRef<Handlers>where
Context: HasErrorType,
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> TryComputer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code, Input, Output, Handlers> IsProviderFor<ComputerComponent, Context, (Code, &Input)> for MatchWithHandlersRef<Handlers>where
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> IsProviderFor<ComputerComponent, Context, (Code, Input::ExtractorRef<'b>)> + for<'b> Computer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code: Send, Input, Output, Handlers> IsProviderFor<HandlerComponent, Context, (Code, &Input)> for MatchWithHandlersRef<Handlers>where
Context: HasAsyncErrorType,
Input: Send + Sync + HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> IsProviderFor<HandlerComponent, Context, (Code, Input::ExtractorRef<'b>)> + for<'b> Handler<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
impl<Context, Code, Input, Output, Handlers> IsProviderFor<TryComputerComponent, Context, (Code, &Input)> for MatchWithHandlersRef<Handlers>where
Context: HasErrorType,
Input: HasExtractorRef,
DispatchMatchers<Handlers>: for<'b> IsProviderFor<TryComputerComponent, Context, (Code, Input::ExtractorRef<'b>)> + for<'b> TryComputer<Context, Code, Input::ExtractorRef<'b>, Output: FinalizeExtractResult<Output = Output>>,
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