Enum lucia_apis::Error

source ·
pub enum Error {
Show 17 variants Base64(DecodeError), Bincode(Error), CapacityError(CapacityError<()>), Ed25519Dalek(SignatureError), InvalidLength(InvalidLength), Lucia(Error), TryFromIntError(TryFromIntError), VarError(VarError), KuCoinUnsuccessfulRequest(String), SolanaAccountIsNotSplToken, SolanaAccountIsNotSplTokenMint, SolanaInexistentOrOutOfBoundsSignatureIndex(usizeOption<usize>), SolanaMessageCanNotHaveMoreThan240Accounts, SolanaSignersShouldHaveSignedAllTransactionSignatures(usizeusize), Generic(Cow<'static, str>), IncompatibleStatusCode(StatusCodeStatusCode), NoInnerValue(&'static str),
}
Expand description

All possible errors are grouped here

Variants§

§

Base64(DecodeError)

§

Bincode(Error)

§

CapacityError(CapacityError<()>)

§

Ed25519Dalek(SignatureError)

§

InvalidLength(InvalidLength)

§

Lucia(Error)

§

TryFromIntError(TryFromIntError)

§

VarError(VarError)

§

KuCoinUnsuccessfulRequest(String)

Unsuccessful request explained in the contained string.

§

SolanaAccountIsNotSplToken

Returned data from counterpart is everything but a spl-token account

§

SolanaAccountIsNotSplTokenMint

Returned data from counterpart is everything but a spl-token account mint

§

SolanaInexistentOrOutOfBoundsSignatureIndex(usizeOption<usize>)

Usually means that no signing public key is available in the list of all public keys

§

SolanaMessageCanNotHaveMoreThan240Accounts

Hard-coded behavior specified by the Solana blockchain

§

SolanaSignersShouldHaveSignedAllTransactionSignatures(usizeusize)

The number of signers is not equal the number os signed signatures

§

Generic(Cow<'static, str>)

For third-party dependencies that throws strings errors

§

IncompatibleStatusCode(StatusCodeStatusCode)

Request was expecting a different HTTP status code.

§

NoInnerValue(&'static str)

A variant used to transform Options into Results

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.