pub struct StepWrapper<Env, Step, RH> {
pub env: Env,
pub step: Step,
pub result_handler: RH,
}
Fields§
§env: Env
§step: Step
§result_handler: RH
Implementations§
Source§impl<Env, Step, RH> StepWrapper<Env, Step, RH>where
Env: TxEnv,
Step: StepWithResponse,
RH: RHListExec<TxResponse, Env>,
RH::ListReturns: NestedTupleFlatten,
impl<Env, Step, RH> StepWrapper<Env, Step, RH>where
Env: TxEnv,
Step: StepWithResponse,
RH: RHListExec<TxResponse, Env>,
RH::ListReturns: NestedTupleFlatten,
pub fn process_result(self) -> <RH::ListReturns as NestedTupleFlatten>::Unpacked
Auto Trait Implementations§
impl<Env, Step, RH> Freeze for StepWrapper<Env, Step, RH>
impl<Env, Step, RH> RefUnwindSafe for StepWrapper<Env, Step, RH>
impl<Env, Step, RH> Send for StepWrapper<Env, Step, RH>
impl<Env, Step, RH> Sync for StepWrapper<Env, Step, RH>
impl<Env, Step, RH> Unpin for StepWrapper<Env, Step, RH>
impl<Env, Step, RH> UnwindSafe for StepWrapper<Env, Step, RH>
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
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more