#[repr(i32)]pub enum HandlingError {
DecodingArgs(FaultString),
EncodingSuccess(FaultString),
EncodingException(FaultString),
EncodingEvent(FaultString),
}Expand description
Plumbing errors resulting from handling a contract call:
Variants§
DecodingArgs(FaultString)
EncodingSuccess(FaultString)
EncodingException(FaultString)
EncodingEvent(FaultString)
Trait Implementations§
Source§impl ConstMaxSize for HandlingError
impl ConstMaxSize for HandlingError
Source§impl ConstMaxSize for HandlingError
impl ConstMaxSize for HandlingError
Source§impl ContractTypeName for HandlingError
impl ContractTypeName for HandlingError
Source§const NAME: ContractSpecIdView<'static>
const NAME: ContractSpecIdView<'static>
The fully qualified id this type is known by in the contract spec. Read more
Source§impl ContractTypeRefSpec for HandlingError
impl ContractTypeRefSpec for HandlingError
Source§const INFO: ContractTypeInfo<'static>
const INFO: ContractTypeInfo<'static>
The type reference. Transitive type definitions are not carried here;
they are retained via the linker-anchor mechanism
(
__THRUPUT_SPEC_ANCHOR_ROOT) and resolved by spec-tool.Source§const SIGNED_PREIMAGE: Option<&'static ContractTypeView<'static>> = _
const SIGNED_PREIMAGE: Option<&'static ContractTypeView<'static>> = _
How this type appears as a signed-token preimage
(
ContractTypeView::SignedToken’s payload): the type itself by
default, or None for a type-erased payload (the SDK’s Opaque
overrides this).Source§impl ContractTypeSpec for HandlingError
impl ContractTypeSpec for HandlingError
Source§const TYPE_DEF: ContractTypeDefView<'static>
const TYPE_DEF: ContractTypeDefView<'static>
The type’s definition (struct, enum, or union) as a const view.
Source§impl Debug for HandlingError
impl Debug for HandlingError
Source§impl Display for HandlingError
impl Display for HandlingError
impl EncodesAs<HandlingError> for HandlingError
Source§impl Error for HandlingError
impl Error for HandlingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<HandlingError> for LibraryExn
impl From<HandlingError> for LibraryExn
Source§fn from(e: HandlingError) -> Self
fn from(e: HandlingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HandlingError
impl PartialEq for HandlingError
Source§impl<'_r> ReadXDR<'_r> for HandlingError
impl<'_r> ReadXDR<'_r> for HandlingError
impl StructuralPartialEq for HandlingError
Source§impl WriteXDR for HandlingError
impl WriteXDR for HandlingError
Source§fn write_xdr<F, W: Writer<F>>(
&self,
__write_xdr_writer: &mut W,
) -> WriteResult<()>
fn write_xdr<F, W: Writer<F>>( &self, __write_xdr_writer: &mut W, ) -> WriteResult<()>
Writes this value as XDR data to the writer. Read more
Source§unsafe fn write_xdr_unchecked<F, W: WriterUnchecked<F>>(
&self,
__write_xdr_writer: &mut W,
)
unsafe fn write_xdr_unchecked<F, W: WriterUnchecked<F>>( &self, __write_xdr_writer: &mut W, )
Writes this value as XDR data to the writer, without runtime checks. Read more
Auto Trait Implementations§
impl Freeze for HandlingError
impl RefUnwindSafe for HandlingError
impl Send for HandlingError
impl Sync for HandlingError
impl Unpin for HandlingError
impl UnsafeUnpin for HandlingError
impl UnwindSafe for HandlingError
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