multiversx_sc::api

Trait CryptoApi

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

    // Required method
    fn crypto_api_impl() -> Self::CryptoApiImpl;
}

Required Associated Types§

Source

type CryptoApiImpl: CryptoApiImpl + 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§