pub struct RpcError {
pub code: RpcErrorCode,
pub message: String,
pub details: Vec<RpcErrorDetail>,
}Fields§
§code: RpcErrorCode§message: String§details: Vec<RpcErrorDetail>Implementations§
Trait Implementations§
Source§impl RpcIntoError for RpcError
impl RpcIntoError for RpcError
fn rpc_into_error(self) -> RpcError
Source§impl<T> RpcIntoResponse<T> for RpcErrorwhere
T: Message,
impl<T> RpcIntoResponse<T> for RpcErrorwhere
T: Message,
fn rpc_into_response(self) -> RpcResult<T>
Auto Trait Implementations§
impl Freeze for RpcError
impl RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl UnsafeUnpin for RpcError
impl UnwindSafe for RpcError
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