pub enum ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,{
Ok(T),
Err(ManagedAsyncCallError<M>),
}Variants§
Ok(T)
Err(ManagedAsyncCallError<M>)
Implementations§
source§impl<M, T> ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
impl<M, T> ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
Trait Implementations§
source§impl<M, T> ContractCallArg for &ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: ContractCallArg,
impl<M, T> ContractCallArg for &ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: ContractCallArg,
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<M, T> ContractCallArg for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: ContractCallArg,
impl<M, T> ContractCallArg for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: ContractCallArg,
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<M, T> DynArg for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: DynArg,
impl<M, T> DynArg for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: DynArg,
source§impl<M, T> TypeAbi for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: TypeAbi,
impl<M, T> TypeAbi for ManagedAsyncCallResult<M, T>where
M: ManagedTypeApi,
T: TypeAbi,
fn type_name() -> String
source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(
accumulator: &mut TDC
)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>( accumulator: &mut TDC )
A type can provide more than its own description.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
Auto Trait Implementations§
impl<M, T> RefUnwindSafe for ManagedAsyncCallResult<M, T>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<M, T> Send for ManagedAsyncCallResult<M, T>
impl<M, T> Sync for ManagedAsyncCallResult<M, T>
impl<M, T> Unpin for ManagedAsyncCallResult<M, T>
impl<M, T> UnwindSafe for ManagedAsyncCallResult<M, T>where
M: UnwindSafe,
T: 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