Enum solana_shadow::Error
source · [−]pub enum Error {
Show 14 variants
NotAProgramAccount,
InvalidArguemt,
WorkerDead,
SolanaClientError(ClientError),
WebSocketError(WsError),
AsyncWrapError(RecvError),
AsyncTimeoutError(Elapsed),
UnknownSubscription,
UnsupportedRpcFormat,
InternalError,
InvalidRpcMessage(Error),
InvalidPublicKey(ParsePubkeyError),
InvalidBase64Data(DecodeError),
InternalSynchronizationError(JoinError),
}
Variants
NotAProgramAccount
InvalidArguemt
WorkerDead
SolanaClientError(ClientError)
WebSocketError(WsError)
AsyncWrapError(RecvError)
AsyncTimeoutError(Elapsed)
UnknownSubscription
UnsupportedRpcFormat
InternalError
InvalidRpcMessage(Error)
InvalidPublicKey(ParsePubkeyError)
InvalidBase64Data(DecodeError)
InternalSynchronizationError(JoinError)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more