pub struct DispatchMatchers<Handlers>(pub PhantomData<Handlers>);Tuple Fields§
§0: PhantomData<Handlers>Trait Implementations§
Source§impl<Context, Code, Input, Handlers, Output, Remainder> Computer<Context, Code, Input> for DispatchMatchers<Handlers>where
Handlers: DispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code, Input, Handlers, Output, Remainder> Computer<Context, Code, Input> for DispatchMatchers<Handlers>where
Handlers: DispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
Source§impl<Context, Code: Send, Input: Send, Handlers, Output: Send, Remainder: Send> Handler<Context, Code, Input> for DispatchMatchers<Handlers>where
Context: HasAsyncErrorType,
Handlers: DispatchHandler<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code: Send, Input: Send, Handlers, Output: Send, Remainder: Send> Handler<Context, Code, Input> for DispatchMatchers<Handlers>where
Context: HasAsyncErrorType,
Handlers: DispatchHandler<Context, Code, Input, Output = Output, Remainder = Remainder>,
Source§impl<Context, Code, Input, Handlers, Output, Remainder> TryComputer<Context, Code, Input> for DispatchMatchers<Handlers>where
Context: HasErrorType,
Handlers: TryDispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code, Input, Handlers, Output, Remainder> TryComputer<Context, Code, Input> for DispatchMatchers<Handlers>where
Context: HasErrorType,
Handlers: TryDispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code, Input, Handlers, Output, Remainder> IsProviderFor<ComputerComponent, Context, (Code, Input)> for DispatchMatchers<Handlers>where
Handlers: DispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code: Send, Input: Send, Handlers, Output: Send, Remainder: Send> IsProviderFor<HandlerComponent, Context, (Code, Input)> for DispatchMatchers<Handlers>where
Context: HasAsyncErrorType,
Handlers: DispatchHandler<Context, Code, Input, Output = Output, Remainder = Remainder>,
impl<Context, Code, Input, Handlers, Output, Remainder> IsProviderFor<TryComputerComponent, Context, (Code, Input)> for DispatchMatchers<Handlers>where
Context: HasErrorType,
Handlers: TryDispatchComputer<Context, Code, Input, Output = Output, Remainder = Remainder>,
Auto Trait Implementations§
impl<Handlers> Freeze for DispatchMatchers<Handlers>
impl<Handlers> RefUnwindSafe for DispatchMatchers<Handlers>where
Handlers: RefUnwindSafe,
impl<Handlers> Send for DispatchMatchers<Handlers>where
Handlers: Send,
impl<Handlers> Sync for DispatchMatchers<Handlers>where
Handlers: Sync,
impl<Handlers> Unpin for DispatchMatchers<Handlers>where
Handlers: Unpin,
impl<Handlers> UnwindSafe for DispatchMatchers<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