pub struct ConsNoRet<Env, Head, Tail>{
pub head: Head,
pub tail: Tail,
/* private fields */
}
Expand description
Handlers that return nothing.
Fields§
§head: Head
§tail: Tail
Trait Implementations§
Source§impl<Env, Head, Tail> RHList<Env> for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> RHList<Env> for ConsNoRet<Env, Head, Tail>
type ListReturns = <Tail as RHList<Env>>::ListReturns
Source§impl<Env, Head, Tail, T> RHListAppendNoRet<Env, T> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
Tail: RHList<Env> + RHListAppendNoRet<Env, T>,
T: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
impl<Env, Head, Tail, T> RHListAppendNoRet<Env, T> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
Tail: RHList<Env> + RHListAppendNoRet<Env, T>,
T: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
type NoRetOutput = ConsNoRet<Env, Head, <Tail as RHListAppendNoRet<Env, T>>::NoRetOutput>
fn append_no_ret(self, t: T) -> Self::NoRetOutput
Source§impl<Env, Head, Tail, T> RHListAppendRet<Env, T> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
Tail: RHList<Env> + RHListAppendRet<Env, T>,
T: RHListItem<Env, Tail::OriginalResult>,
impl<Env, Head, Tail, T> RHListAppendRet<Env, T> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItem<Env, Tail::OriginalResult, Returns = ()>,
Tail: RHList<Env> + RHListAppendRet<Env, T>,
T: RHListItem<Env, Tail::OriginalResult>,
type RetOutput = ConsNoRet<Env, Head, <Tail as RHListAppendRet<Env, T>>::RetOutput>
fn append_ret(self, t: T) -> Self::RetOutput
Source§impl<RawResult, Env, Head, Tail> RHListExec<RawResult, Env> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItemExec<RawResult, Env, Tail::OriginalResult, Returns = ()>,
Tail: RHListExec<RawResult, Env>,
impl<RawResult, Env, Head, Tail> RHListExec<RawResult, Env> for ConsNoRet<Env, Head, Tail>where
Env: TxEnv,
Head: RHListItemExec<RawResult, Env, Tail::OriginalResult, Returns = ()>,
Tail: RHListExec<RawResult, Env>,
Source§fn list_tx_expect(&self) -> Env::RHExpect
fn list_tx_expect(&self) -> Env::RHExpect
Provides the execution pre-processing, in which result handlers collectively produce an “expect” field. Read more
Source§fn list_process_result(self, raw_result: &RawResult) -> Self::ListReturns
fn list_process_result(self, raw_result: &RawResult) -> Self::ListReturns
Aggregates the executions of all result handlers, as configured for a transaction.
Source§impl<Env, Head, Tail> TxResultHandler<Env> for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> TxResultHandler<Env> for ConsNoRet<Env, Head, Tail>
type OriginalResult = <Tail as TxResultHandler<Env>>::OriginalResult
Auto Trait Implementations§
impl<Env, Head, Tail> Freeze for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> RefUnwindSafe for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> Send for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> Sync for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> Unpin for ConsNoRet<Env, Head, Tail>
impl<Env, Head, Tail> UnwindSafe for ConsNoRet<Env, Head, Tail>
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