pub struct IpcError {
pub code: i32,
pub message: String,
}Expand description
A JSON-RPC 2.0 error object.
Fields§
§code: i32A numeric error code. Standard codes are defined as ERROR_* constants.
message: StringA short human-readable description of the error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpcError
impl RefUnwindSafe for IpcError
impl Send for IpcError
impl Sync for IpcError
impl Unpin for IpcError
impl UnsafeUnpin for IpcError
impl UnwindSafe for IpcError
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