pub struct RpcError {
pub code: i32,
pub message: String,
pub data: Option<Value>,
}Expand description
JSON-RPC error.
Fields§
§code: i32Error code.
message: StringError message.
data: Option<Value>Additional data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcError
impl RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl UnwindSafe for RpcError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more