Struct elrond_wasm_module_features::FeatureName[][src]

pub struct FeatureName<'a>(_);

Trait Implementations

impl<'a> NestedEncode for FeatureName<'a>[src]

fn dep_encode<O: NestedEncodeOutput>(
    &self,
    dest: &mut O
) -> Result<(), EncodeError>
[src]

NestedEncode to output, using the format of an object nested inside another structure. Does not provide compact version. Read more

fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>(
    &self,
    dest: &mut O,
    _: ExitCtx,
    _: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller implementations in cases where the application is supposed to exit directly on decode error. Read more

impl<'a> TopEncode for FeatureName<'a>[src]

fn top_encode<O: TopEncodeOutput>(&self, output: O) -> Result<(), EncodeError>[src]

Attempt to serialize the value to ouput.

fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
    &self,
    output: O,
    c: ExitCtx,
    exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller bytecode implementations in cases where the application is supposed to exit directly on decode error. Read more

Auto Trait Implementations

impl<'a> Send for FeatureName<'a>

impl<'a> Sync for FeatureName<'a>

impl<'a> Unpin for FeatureName<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> ContractCallArg for T where
    T: TopEncode, 
[src]

pub fn push_async_arg(&self, serializer: &mut ArgBuffer) -> Result<(), SCError>[src]

impl<T> EndpointResult for T where
    T: TopEncode, 
[src]

type DecodeAs = T

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

pub fn finish<FA>(&self, api: FA) where
    FA: EndpointFinishApi + Clone + 'static, 
[src]

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.