pub struct WithRawResult<Env, F>{ /* private fields */ }
Expand description
Defines a lambda function to be called on the raw result of the transaction.
Implementations§
Source§impl<Env, F> WithRawResult<Env, F>
impl<Env, F> WithRawResult<Env, F>
Trait Implementations§
Source§impl<Env, F, Original> RHListItem<Env, Original> for WithRawResult<Env, F>
impl<Env, F, Original> RHListItem<Env, Original> for WithRawResult<Env, F>
Source§impl<Env, F, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithRawResult<Env, F>
impl<Env, F, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithRawResult<Env, F>
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<Env::Api>,
) -> Self::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<Env::Api>, ) -> Self::Returns
The main functionality of a result handler, it either does some computation internally
(e.g. execution of a lambda function), or produces a result, or both.
Auto Trait Implementations§
impl<Env, F> Freeze for WithRawResult<Env, F>where
F: Freeze,
impl<Env, F> RefUnwindSafe for WithRawResult<Env, F>where
F: RefUnwindSafe,
Env: RefUnwindSafe,
impl<Env, F> Send for WithRawResult<Env, F>
impl<Env, F> Sync for WithRawResult<Env, F>
impl<Env, F> Unpin for WithRawResult<Env, F>
impl<Env, F> UnwindSafe for WithRawResult<Env, F>where
F: UnwindSafe,
Env: 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