pub enum RpcDispatchError {
Message(String),
Response(Box<Value>),
}Expand description
Error returned by the stateful RPC dispatcher.
Variants§
Message(String)
Legacy string-valued error response.
Response(Box<Value>)
Complete JSON response for methods with structured top-level errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcDispatchError
impl RefUnwindSafe for RpcDispatchError
impl Send for RpcDispatchError
impl Sync for RpcDispatchError
impl Unpin for RpcDispatchError
impl UnsafeUnpin for RpcDispatchError
impl UnwindSafe for RpcDispatchError
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