#[repr(i32)]pub enum AuthTokenError {
MintEncodeFailure(FaultString),
ConsumeDecodeFailure(FaultString),
ReceiveAuthHandlesFailure(FaultString),
}Expand description
Plumbing errors resulting from working with auth tokens:
Variants§
MintEncodeFailure(FaultString)
ConsumeDecodeFailure(FaultString)
ReceiveAuthHandlesFailure(FaultString)
Trait Implementations§
Source§impl ConstMaxSize for AuthTokenError
impl ConstMaxSize for AuthTokenError
Source§impl ConstMaxSize for AuthTokenError
impl ConstMaxSize for AuthTokenError
Source§impl ContractTypeName for AuthTokenError
impl ContractTypeName for AuthTokenError
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 AuthTokenError
impl ContractTypeRefSpec for AuthTokenError
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 AuthTokenError
impl ContractTypeSpec for AuthTokenError
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 AuthTokenError
impl Debug for AuthTokenError
Source§impl Display for AuthTokenError
impl Display for AuthTokenError
impl EncodesAs<AuthTokenError> for AuthTokenError
Source§impl Error for AuthTokenError
impl Error for AuthTokenError
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<AuthTokenError> for LibraryExn
impl From<AuthTokenError> for LibraryExn
Source§fn from(e: AuthTokenError) -> Self
fn from(e: AuthTokenError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuthTokenError
impl PartialEq for AuthTokenError
Source§impl<'_r> ReadXDR<'_r> for AuthTokenError
impl<'_r> ReadXDR<'_r> for AuthTokenError
impl StructuralPartialEq for AuthTokenError
Source§impl WriteXDR for AuthTokenError
impl WriteXDR for AuthTokenError
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 AuthTokenError
impl RefUnwindSafe for AuthTokenError
impl Send for AuthTokenError
impl Sync for AuthTokenError
impl Unpin for AuthTokenError
impl UnsafeUnpin for AuthTokenError
impl UnwindSafe for AuthTokenError
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