Expand description
Error information for response messages.
Fields
code: isize
The error code.
message: String
The error message.
data: Option<String>
Additional data for the error, typically an underlying cause for the error.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RpcError
impl<'de> Deserialize<'de> for RpcError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RpcError
impl StructuralEq for RpcError
impl StructuralPartialEq for RpcError
Auto Trait Implementations
impl RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl UnwindSafe for RpcError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more