pub struct ErrorObject {
pub code: i32,
pub message: String,
}Expand description
JSON-RPC 2.0 error object.
Fields§
§code: i32Numeric error code per JSON-RPC convention.
message: StringHuman-readable message.
Trait Implementations§
Source§impl Debug for ErrorObject
impl Debug for ErrorObject
Auto Trait Implementations§
impl Freeze for ErrorObject
impl RefUnwindSafe for ErrorObject
impl Send for ErrorObject
impl Sync for ErrorObject
impl Unpin for ErrorObject
impl UnsafeUnpin for ErrorObject
impl UnwindSafe for ErrorObject
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