Struct dharitri_wasm::types::SCError
source · pub struct SCError(/* private fields */);Expand description
Contains a smart contract execution error message.
Implemented as a simple boxed slice, for performance reasons.
Implementations§
Trait Implementations§
source§impl From<BoxedBytes> for SCError
impl From<BoxedBytes> for SCError
source§fn from(boxed_bytes: BoxedBytes) -> Self
fn from(boxed_bytes: BoxedBytes) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for SCError
impl From<EncodeError> for SCError
source§fn from(err: EncodeError) -> Self
fn from(err: EncodeError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SCError
impl PartialEq for SCError
impl Eq for SCError
impl StructuralPartialEq for SCError
Auto Trait Implementations§
impl RefUnwindSafe for SCError
impl Send for SCError
impl Sync for SCError
impl Unpin for SCError
impl UnwindSafe for SCError
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