Enum substrate_stellar_sdk::StellarSdkError [−][src]
pub enum StellarSdkError {}Show variants
InvalidBase32Character { at_position: usize, }, InvalidStellarKeyEncoding, InvalidStellarKeyEncodingLength, InvalidStellarKeyEncodingVersion { expected_version: char, found_version: char, }, InvalidStellarKeyChecksum { expected: u16, found: u16, }, InvalidSignatureLength { found_length: usize, expected_length: usize, }, PublicKeyCantVerify, InvalidBase64Encoding(DecodeError), TooManySignatures, AssetCodeTooLong, InvalidAssetCodeCharacter, ExceedsMaximumLength { requested_length: usize, allowed_length: i32, }, InvalidHexEncoding(FromHexError), InvalidHashLength { found_length: usize, expected_length: usize, }, NotApproximableAsFraction, InvalidPrice, InvalidTrustLineLimit, InvalidAuthorizeFlag, InvalidAmountString, AmountOverflow, AmountNegative, AmountNonPositive, InvalidBinaryLength { found_length: usize, expected_length: usize, }, InvalidBalanceId, EmptyClaimants, InvalidSignerWeight, CantWrapFeeBumpTransaction, FetchError(FetchError),
Variants
Show fields
Fields of InvalidBase32Character
at_position: usize
The encoding can be decoded but is not the canonical encoding of the underlying binary key
The encoding has an invalid length
The initial version byte is invalid for this EncodableKey
The checksum in the encoding is invaliid
The signature has an invalid length
Verification for this public key failed
InvalidBase64Encoding(DecodeError)
The base64 encoding of the signature is invalid
The transaction envelope already has the maximal number of signatures (20)
InvalidHexEncoding(FromHexError)
FetchError(FetchError)
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StellarSdkError
impl Send for StellarSdkError
impl Sync for StellarSdkError
impl Unpin for StellarSdkError
impl UnwindSafe for StellarSdkError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
pub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,