Enum solana_client::rpc_request::RpcError [−][src]
pub enum RpcError {
RpcRequestError(String),
RpcResponseError {
code: i64,
message: String,
data: RpcResponseErrorData,
},
ParseError(String),
ForUser(String),
}
Variants
RpcRequestError(String)
Tuple Fields
0: String
RpcResponseError
ParseError(String)
Tuple Fields
0: String
ForUser(String)
Tuple Fields
0: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RpcError
impl UnwindSafe for RpcError
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
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