Enum anchor_client::ClientError [−][src]
pub enum ClientError {
AccountNotFound,
ProgramError(ProgramError),
SolanaClientError(SolanaClientError),
SolanaClientPubsubError(PubsubClientError),
LogParseError(String),
}
Variants
SolanaClientError(SolanaClientError)
Tuple Fields of SolanaClientError
SolanaClientPubsubError(PubsubClientError)
Tuple Fields of SolanaClientPubsubError
LogParseError(String)
Tuple Fields of LogParseError
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
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