pub struct BindErr<M, Cont>(pub PhantomData<(M, Cont)>);Tuple Fields§
§0: PhantomData<(M, Cont)>Trait Implementations§
Source§impl<Context, Code, T1, T2, E, M, Cont> AsyncComputer<Context, Code, Result<T1, E>> for BindErr<M, Cont>where
Cont: AsyncComputer<Context, Code, T1>,
M: ContainsValue<<Cont as AsyncComputer<Context, Code, T1>>::Output, Value = Result<T2, E>> + LiftValue<Result<T2, E>, <Cont as AsyncComputer<Context, Code, T1>>::Output>,
impl<Context, Code, T1, T2, E, M, Cont> AsyncComputer<Context, Code, Result<T1, E>> for BindErr<M, Cont>where
Cont: AsyncComputer<Context, Code, T1>,
M: ContainsValue<<Cont as AsyncComputer<Context, Code, T1>>::Output, Value = Result<T2, E>> + LiftValue<Result<T2, E>, <Cont as AsyncComputer<Context, Code, T1>>::Output>,
type Output = <M as LiftValue<Result<T2, E>, <Cont as AsyncComputer<Context, Code, T1>>::Output>>::Output
async fn compute_async( context: &Context, code: PhantomData<Code>, input: Result<T1, E>, ) -> <BindErr<M, Cont> as AsyncComputer<Context, Code, Result<T1, E>>>::Output
Source§impl<Context, Code, T1, T2, E, M, Cont> Computer<Context, Code, Result<T1, E>> for BindErr<M, Cont>
impl<Context, Code, T1, T2, E, M, Cont> Computer<Context, Code, Result<T1, E>> for BindErr<M, Cont>
impl<Context, Code, T1, T2, E, M, Cont> IsProviderFor<AsyncComputerComponent, Context, (Code, Result<T1, E>)> for BindErr<M, Cont>where
Cont: IsProviderFor<AsyncComputerComponent, Context, (Code, T1)> + AsyncComputer<Context, Code, T1>,
M: ContainsValue<<Cont as AsyncComputer<Context, Code, T1>>::Output, Value = Result<T2, E>> + LiftValue<Result<T2, E>, <Cont as AsyncComputer<Context, Code, T1>>::Output>,
impl<Context, Code, T1, T2, E, M, Cont> IsProviderFor<ComputerComponent, Context, (Code, Result<T1, E>)> for BindErr<M, Cont>where
Cont: IsProviderFor<ComputerComponent, Context, (Code, T1)> + Computer<Context, Code, T1>,
M: ContainsValue<<Cont as Computer<Context, Code, T1>>::Output, Value = Result<T2, E>> + LiftValue<Result<T2, E>, <Cont as Computer<Context, Code, T1>>::Output>,
Auto Trait Implementations§
impl<M, Cont> Freeze for BindErr<M, Cont>
impl<M, Cont> RefUnwindSafe for BindErr<M, Cont>where
M: RefUnwindSafe,
Cont: RefUnwindSafe,
impl<M, Cont> Send for BindErr<M, Cont>
impl<M, Cont> Sync for BindErr<M, Cont>
impl<M, Cont> Unpin for BindErr<M, Cont>
impl<M, Cont> UnsafeUnpin for BindErr<M, Cont>
impl<M, Cont> UnwindSafe for BindErr<M, Cont>where
M: UnwindSafe,
Cont: 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