pub struct ExternalViewApi<A: VMApi> { /* private fields */ }
Trait Implementations§
Source§impl<A> BlockchainApi for ExternalViewApi<A>where
A: VMApi,
impl<A> BlockchainApi for ExternalViewApi<A>where
A: VMApi,
type BlockchainApiImpl = <A as BlockchainApi>::BlockchainApiImpl
fn blockchain_api_impl() -> A::BlockchainApiImpl
Source§impl<A> CallValueApi for ExternalViewApi<A>where
A: VMApi,
impl<A> CallValueApi for ExternalViewApi<A>where
A: VMApi,
type CallValueApiImpl = <A as CallValueApi>::CallValueApiImpl
fn call_value_api_impl() -> Self::CallValueApiImpl
Source§impl<A: Clone + VMApi> Clone for ExternalViewApi<A>
impl<A: Clone + VMApi> Clone for ExternalViewApi<A>
Source§fn clone(&self) -> ExternalViewApi<A>
fn clone(&self) -> ExternalViewApi<A>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<A> CryptoApi for ExternalViewApi<A>where
A: VMApi,
impl<A> CryptoApi for ExternalViewApi<A>where
A: VMApi,
type CryptoApiImpl = <A as CryptoApi>::CryptoApiImpl
fn crypto_api_impl() -> Self::CryptoApiImpl
Source§impl<A> EndpointArgumentApi for ExternalViewApi<A>where
A: VMApi,
impl<A> EndpointArgumentApi for ExternalViewApi<A>where
A: VMApi,
type EndpointArgumentApiImpl = <A as EndpointArgumentApi>::EndpointArgumentApiImpl
fn argument_api_impl() -> Self::EndpointArgumentApiImpl
Source§impl<A> EndpointFinishApi for ExternalViewApi<A>where
A: VMApi,
impl<A> EndpointFinishApi for ExternalViewApi<A>where
A: VMApi,
type EndpointFinishApiImpl = <A as EndpointFinishApi>::EndpointFinishApiImpl
fn finish_api_impl() -> Self::EndpointFinishApiImpl
Source§impl<A> ErrorApi for ExternalViewApi<A>where
A: VMApi,
impl<A> ErrorApi for ExternalViewApi<A>where
A: VMApi,
type ErrorApiImpl = <A as ErrorApi>::ErrorApiImpl
fn error_api_impl() -> Self::ErrorApiImpl
Source§impl<A> HandleTypeInfo for ExternalViewApi<A>where
A: VMApi,
impl<A> HandleTypeInfo for ExternalViewApi<A>where
A: VMApi,
type ManagedBufferHandle = <A as HandleTypeInfo>::ManagedBufferHandle
type BigIntHandle = <A as HandleTypeInfo>::BigIntHandle
type BigFloatHandle = <A as HandleTypeInfo>::BigFloatHandle
type EllipticCurveHandle = <A as HandleTypeInfo>::EllipticCurveHandle
type ManagedMapHandle = <A as HandleTypeInfo>::ManagedMapHandle
Source§impl<A> LogApi for ExternalViewApi<A>where
A: VMApi,
impl<A> LogApi for ExternalViewApi<A>where
A: VMApi,
type LogApiImpl = <A as LogApi>::LogApiImpl
fn log_api_impl() -> Self::LogApiImpl
Source§impl<A> ManagedTypeApi for ExternalViewApi<A>where
A: VMApi,
impl<A> ManagedTypeApi for ExternalViewApi<A>where
A: VMApi,
type ManagedTypeApiImpl = <A as ManagedTypeApi>::ManagedTypeApiImpl
fn managed_type_impl() -> Self::ManagedTypeApiImpl
Source§impl<A> PartialEq for ExternalViewApi<A>where
A: VMApi,
impl<A> PartialEq for ExternalViewApi<A>where
A: VMApi,
Source§impl<A> PrintApi for ExternalViewApi<A>where
A: VMApi,
impl<A> PrintApi for ExternalViewApi<A>where
A: VMApi,
type PrintApiImpl = <A as PrintApi>::PrintApiImpl
fn print_api_impl() -> Self::PrintApiImpl
Source§impl<A> SendApi for ExternalViewApi<A>where
A: VMApi,
impl<A> SendApi for ExternalViewApi<A>where
A: VMApi,
type SendApiImpl = <A as SendApi>::SendApiImpl
fn send_api_impl() -> Self::SendApiImpl
Source§impl<A> StaticVarApi for ExternalViewApi<A>where
A: VMApi,
impl<A> StaticVarApi for ExternalViewApi<A>where
A: VMApi,
type StaticVarApiImpl = <A as StaticVarApi>::StaticVarApiImpl
fn static_var_api_impl() -> Self::StaticVarApiImpl
Source§impl<A> StorageReadApi for ExternalViewApi<A>where
A: VMApi,
impl<A> StorageReadApi for ExternalViewApi<A>where
A: VMApi,
type StorageReadApiImpl = ExternalViewApi<A>
fn storage_read_api_impl() -> Self::StorageReadApiImpl
Source§impl<A: VMApi> StorageReadApiImpl for ExternalViewApi<A>
impl<A: VMApi> StorageReadApiImpl for ExternalViewApi<A>
fn storage_read_api_init(&self)
fn storage_load_managed_buffer_raw( &self, key_handle: Self::ManagedBufferHandle, dest: Self::ManagedBufferHandle, )
fn storage_load_from_address( &self, address_handle: Self::ManagedBufferHandle, key_handle: Self::ManagedBufferHandle, dest: Self::ManagedBufferHandle, )
Source§impl<A> StorageWriteApi for ExternalViewApi<A>where
A: VMApi,
impl<A> StorageWriteApi for ExternalViewApi<A>where
A: VMApi,
type StorageWriteApiImpl = <A as StorageWriteApi>::StorageWriteApiImpl
fn storage_write_api_impl() -> Self::StorageWriteApiImpl
Source§impl<A> VMApi for ExternalViewApi<A>where
A: VMApi,
impl<A> VMApi for ExternalViewApi<A>where
A: VMApi,
Source§fn external_view_init_override() -> bool
fn external_view_init_override() -> bool
Slightly hacky way of overriding the constructor for external view contracts. Read more
fn init_static()
impl<A> CallTypeApi for ExternalViewApi<A>where
A: VMApi,
impl<A> Eq for ExternalViewApi<A>where
A: VMApi,
impl<A> StorageMapperApi for ExternalViewApi<A>where
A: VMApi,
Auto Trait Implementations§
impl<A> Freeze for ExternalViewApi<A>
impl<A> RefUnwindSafe for ExternalViewApi<A>where
A: RefUnwindSafe,
impl<A> Send for ExternalViewApi<A>
impl<A> Sync for ExternalViewApi<A>
impl<A> Unpin for ExternalViewApi<A>where
A: Unpin,
impl<A> UnwindSafe for ExternalViewApi<A>where
A: 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