Enum dharitri_wasm::types::AsyncCallResult
source · pub enum AsyncCallResult<T> {
Ok(T),
Err(AsyncCallError),
}Variants§
Ok(T)
Err(AsyncCallError)
Implementations§
Trait Implementations§
source§impl<T> ContractCallArg for &AsyncCallResult<T>where
T: ContractCallArg,
impl<T> ContractCallArg for &AsyncCallResult<T>where
T: ContractCallArg,
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<T> ContractCallArg for AsyncCallResult<T>where
T: ContractCallArg,
impl<T> ContractCallArg for AsyncCallResult<T>where
T: ContractCallArg,
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<T> DynArg for AsyncCallResult<T>where
T: DynArg,
impl<T> DynArg for AsyncCallResult<T>where
T: DynArg,
source§impl<T: TypeAbi> TypeAbi for AsyncCallResult<T>
impl<T: TypeAbi> TypeAbi for AsyncCallResult<T>
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<T> RefUnwindSafe for AsyncCallResult<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncCallResult<T>where
T: Send,
impl<T> Sync for AsyncCallResult<T>where
T: Sync,
impl<T> Unpin for AsyncCallResult<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncCallResult<T>where
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