multiversx_sc::api

Trait ManagedTypeApi

Source
pub trait ManagedTypeApi:
    HandleTypeInfo
    + StaticVarApi
    + ErrorApi
    + Clone
    + 'static {
    type ManagedTypeApiImpl: ManagedTypeApiImpl + HandleTypeInfo<ManagedBufferHandle = Self::ManagedBufferHandle, BigIntHandle = Self::BigIntHandle, BigFloatHandle = Self::BigFloatHandle, EllipticCurveHandle = Self::EllipticCurveHandle, ManagedMapHandle = Self::ManagedMapHandle>;

    // Required method
    fn managed_type_impl() -> Self::ManagedTypeApiImpl;
}

Required Associated Types§

Source

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

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§