multiversx_sc::api

Trait BlockchainApi

Source
pub trait BlockchainApi: ManagedTypeApi {
    type BlockchainApiImpl: BlockchainApiImpl + HandleTypeInfo<ManagedBufferHandle = Self::ManagedBufferHandle, BigIntHandle = Self::BigIntHandle, BigFloatHandle = Self::BigFloatHandle, EllipticCurveHandle = Self::EllipticCurveHandle>;

    // Required method
    fn blockchain_api_impl() -> Self::BlockchainApiImpl;
}

Required Associated Types§

Source

type BlockchainApiImpl: BlockchainApiImpl + HandleTypeInfo<ManagedBufferHandle = Self::ManagedBufferHandle, BigIntHandle = Self::BigIntHandle, BigFloatHandle = Self::BigFloatHandle, EllipticCurveHandle = Self::EllipticCurveHandle>

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§