Struct elrond_wasm_module_features::FeatureName [−][src]
pub struct FeatureName<'a>(_);
Trait Implementations
pub fn dep_encode<O>(&self, dest: &mut O) -> Result<(), EncodeError> where
O: NestedEncodeOutput,
pub fn dep_encode<O>(&self, dest: &mut O) -> Result<(), EncodeError> where
O: NestedEncodeOutput,
NestedEncode to output, using the format of an object nested inside another structure. Does not provide compact version. Read more
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
Attempt to serialize the value to ouput.
pub fn top_encode_or_exit<O, ExitCtx>(
&self,
output: O,
c: ExitCtx,
exit: fn(ExitCtx, EncodeError) -> !
) where
O: TopEncodeOutput,
ExitCtx: Clone,
pub fn top_encode_or_exit<O, ExitCtx>(
&self,
output: O,
c: ExitCtx,
exit: fn(ExitCtx, EncodeError) -> !
) where
O: TopEncodeOutput,
ExitCtx: Clone,
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> RefUnwindSafe for FeatureName<'a>
impl<'a> Send for FeatureName<'a>
impl<'a> Sync for FeatureName<'a>
impl<'a> Unpin for FeatureName<'a>
impl<'a> UnwindSafe for FeatureName<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
type DecodeAs = T
type DecodeAs = T
Indicates how the result of the endpoint can be interpreted when called via proxy.
Self
for most types. Read more