Struct dharitri_wasm::types::StaticSCError
source · pub struct StaticSCError(/* private fields */);Expand description
Contains a smart contract execution error message.
The simplest implementation: a static byte slice. Should be enough for most scenarios.
Implementations§
Trait Implementations§
source§impl Clone for StaticSCError
impl Clone for StaticSCError
source§fn clone(&self) -> StaticSCError
fn clone(&self) -> StaticSCError
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 Debug for StaticSCError
impl Debug for StaticSCError
source§impl From<!> for StaticSCError
impl From<!> for StaticSCError
source§impl From<&'static [u8]> for StaticSCError
impl From<&'static [u8]> for StaticSCError
source§impl From<&'static str> for StaticSCError
impl From<&'static str> for StaticSCError
source§impl From<DecodeError> for StaticSCError
impl From<DecodeError> for StaticSCError
source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for StaticSCError
impl From<EncodeError> for StaticSCError
source§fn from(err: EncodeError) -> Self
fn from(err: EncodeError) -> Self
Converts to this type from the input type.
source§impl PartialEq for StaticSCError
impl PartialEq for StaticSCError
source§fn eq(&self, other: &StaticSCError) -> bool
fn eq(&self, other: &StaticSCError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SCError for StaticSCError
impl SCError for StaticSCError
fn finish_err<FA: EndpointFinishApi>(&self) -> !
impl Eq for StaticSCError
impl StructuralPartialEq for StaticSCError
Auto Trait Implementations§
impl RefUnwindSafe for StaticSCError
impl Send for StaticSCError
impl Sync for StaticSCError
impl Unpin for StaticSCError
impl UnwindSafe for StaticSCError
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