pub struct UseInputDelegate<Components>(pub PhantomData<Components>);Tuple Fields§
§0: PhantomData<Components>Trait Implementations§
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> AsyncComputer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: AsyncComputer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> AsyncComputer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: AsyncComputer<__Context__, Code, Input>,
type Output = <__Delegate__ as AsyncComputer<__Context__, Code, Input>>::Output
fn compute_async( __context__: &__Context__, _code: PhantomData<Code>, input: Input, ) -> impl Future<Output = Self::Output>
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> AsyncComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: AsyncComputerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> AsyncComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: AsyncComputerRef<__Context__, Code, Input>,
type Output = <__Delegate__ as AsyncComputerRef<__Context__, Code, Input>>::Output
fn compute_async_ref( __context__: &__Context__, _code: PhantomData<Code>, input: &Input, ) -> impl Future<Output = Self::Output>
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> Computer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: Computer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> Computer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: Computer<__Context__, Code, Input>,
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> ComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: ComputerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> ComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: ComputerRef<__Context__, Code, Input>,
type Output = <__Delegate__ as ComputerRef<__Context__, Code, Input>>::Output
fn compute_ref( __context__: &__Context__, _code: PhantomData<Code>, input: &Input, ) -> Self::Output
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> Handler<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: Handler<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> Handler<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: Handler<__Context__, Code, Input>,
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> HandlerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: HandlerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> HandlerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: HandlerRef<__Context__, Code, Input>,
type Output = <__Delegate__ as HandlerRef<__Context__, Code, Input>>::Output
fn handle_ref( __context__: &__Context__, _tag: PhantomData<Code>, input: &Input, ) -> impl Future<Output = Result<Self::Output, __Context__::Error>>
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> TryComputer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: TryComputer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> TryComputer<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: TryComputer<__Context__, Code, Input>,
type Output = <__Delegate__ as TryComputer<__Context__, Code, Input>>::Output
fn try_compute( __context__: &__Context__, _code: PhantomData<Code>, input: Input, ) -> Result<Self::Output, __Context__::Error>
Source§impl<__Context__, Code, Input, __Components__, __Delegate__> TryComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: TryComputerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> TryComputerRef<__Context__, Code, Input> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: TryComputerRef<__Context__, Code, Input>,
type Output = <__Delegate__ as TryComputerRef<__Context__, Code, Input>>::Output
fn try_compute_ref( __context__: &__Context__, _code: PhantomData<Code>, input: &Input, ) -> Result<Self::Output, __Context__::Error>
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<AsyncComputerComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<AsyncComputerComponent, __Context__, (Code, Input)> + AsyncComputer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<AsyncComputerRefComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<AsyncComputerRefComponent, __Context__, (Code, Input)> + AsyncComputerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<ComputerComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<ComputerComponent, __Context__, (Code, Input)> + Computer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<ComputerRefComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<ComputerRefComponent, __Context__, (Code, Input)> + ComputerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<HandlerComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<HandlerComponent, __Context__, (Code, Input)> + Handler<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<HandlerRefComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<HandlerRefComponent, __Context__, (Code, Input)> + HandlerRef<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<TryComputerComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<TryComputerComponent, __Context__, (Code, Input)> + TryComputer<__Context__, Code, Input>,
impl<__Context__, Code, Input, __Components__, __Delegate__> IsProviderFor<TryComputerRefComponent, __Context__, (Code, Input)> for UseInputDelegate<__Components__>where
__Context__: HasErrorType,
__Components__: DelegateComponent<Input, Delegate = __Delegate__>,
__Delegate__: IsProviderFor<TryComputerRefComponent, __Context__, (Code, Input)> + TryComputerRef<__Context__, Code, Input>,
Auto Trait Implementations§
impl<Components> Freeze for UseInputDelegate<Components>
impl<Components> RefUnwindSafe for UseInputDelegate<Components>where
Components: RefUnwindSafe,
impl<Components> Send for UseInputDelegate<Components>where
Components: Send,
impl<Components> Sync for UseInputDelegate<Components>where
Components: Sync,
impl<Components> Unpin for UseInputDelegate<Components>where
Components: Unpin,
impl<Components> UnsafeUnpin for UseInputDelegate<Components>
impl<Components> UnwindSafe for UseInputDelegate<Components>where
Components: 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