Trait elrond_wasm::io::EndpointResult[][src]

pub trait EndpointResult: Sized {
    type DecodeAs;
    fn finish<FA>(&self, api: FA)
    where
        FA: ManagedTypeApi + EndpointFinishApi + Clone + 'static
; }
Expand description

All types that are returned from endpoints need to implement this trait.

Associated Types

Indicates how the result of the endpoint can be interpreted when called via proxy. Self for most types.

Required methods

Implementors

Behaves like a MultiResultVec

when an endpoint result, and lists all users addresses.

Behaves like a MultiResultVec when an endpoint result.

Behaves like a MultiResultVec when an endpoint result.

Behaves like a MultiResultVec when an endpoint result.

Behaves like a MultiResultVec when an endpoint result.

All serializable objects can be used as smart contract function result.