pub struct SyncCallRawResult<Api>(pub ManagedVec<Api, ManagedBuffer<Api>>)
where
Api: CallTypeApi;
Tuple Fields§
§0: ManagedVec<Api, ManagedBuffer<Api>>
Trait Implementations§
Source§impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsRawResultwhere
Env: TxEnv,
impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsRawResultwhere
Env: TxEnv,
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> <ReturnsRawResult as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <ReturnsRawResult as RHListItem<Env, Original>>::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.
Source§impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultwhere
Env: TxEnv,
Original: TopDecodeMulti,
impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultwhere
Env: TxEnv,
Original: TopDecodeMulti,
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> Original
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> Original
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.
Source§impl<Env, Original, T> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultAs<T>
impl<Env, Original, T> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultAs<T>
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> <ReturnsResultAs<T> as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <ReturnsResultAs<T> as RHListItem<Env, Original>>::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.
Source§impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultUnmanaged
impl<Env, Original> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for ReturnsResultUnmanaged
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> <ReturnsResultUnmanaged as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <ReturnsResultUnmanaged as RHListItem<Env, Original>>::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.
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 as TxEnv>::Api>,
) -> <WithRawResult<Env, F> as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <WithRawResult<Env, F> as RHListItem<Env, Original>>::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.
Source§impl<Env, Original, F> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithResult<Original, F>
impl<Env, Original, F> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithResult<Original, F>
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> <WithResult<Original, F> as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <WithResult<Original, F> as RHListItem<Env, Original>>::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.
Source§impl<Env, Original, T, F> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithResultAs<T, F>
impl<Env, Original, T, F> RHListItemExec<SyncCallRawResult<<Env as TxEnv>::Api>, Env, Original> for WithResultAs<T, F>
Source§fn item_process_result(
self,
raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>,
) -> <WithResultAs<T, F> as RHListItem<Env, Original>>::Returns
fn item_process_result( self, raw_result: &SyncCallRawResult<<Env as TxEnv>::Api>, ) -> <WithResultAs<T, F> as RHListItem<Env, Original>>::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<Api> Freeze for SyncCallRawResult<Api>
impl<Api> RefUnwindSafe for SyncCallRawResult<Api>
impl<Api> Send for SyncCallRawResult<Api>
impl<Api> Sync for SyncCallRawResult<Api>
impl<Api> Unpin for SyncCallRawResult<Api>
impl<Api> UnwindSafe for SyncCallRawResult<Api>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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