pub enum RpcServerError {
Marshaller(Error),
EmptyResponse,
InvalidResponse(String),
ServerError(RpcError),
}
Expand description
RPC Json errors.
Variants§
Marshaller(Error)
Error marshalling server response.
EmptyResponse
Empty response returned by server.
InvalidResponse(String)
Invalid response
ServerError(RpcError)
Error returned to client by server.
Trait Implementations§
Source§impl Debug for RpcServerError
impl Debug for RpcServerError
Auto Trait Implementations§
impl Freeze for RpcServerError
impl !RefUnwindSafe for RpcServerError
impl Send for RpcServerError
impl Sync for RpcServerError
impl Unpin for RpcServerError
impl !UnwindSafe for RpcServerError
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