pub enum RpcErrorCode {
ApplicationError = 1_500,
ConnectionTimeout = 1_501,
ResponseTimeout = 1_502,
RecipientDisconnected = 1_503,
ResponsePayloadTooLarge = 1_504,
SendFailed = 1_505,
UnsupportedMethod = 1_400,
RecipientNotFound = 1_401,
RequestPayloadTooLarge = 1_402,
UnsupportedServer = 1_403,
UnsupportedVersion = 1_404,
}Variants§
ApplicationError = 1_500
ConnectionTimeout = 1_501
ResponseTimeout = 1_502
RecipientDisconnected = 1_503
ResponsePayloadTooLarge = 1_504
SendFailed = 1_505
UnsupportedMethod = 1_400
RecipientNotFound = 1_401
RequestPayloadTooLarge = 1_402
UnsupportedServer = 1_403
UnsupportedVersion = 1_404
Trait Implementations§
Source§impl Clone for RpcErrorCode
impl Clone for RpcErrorCode
Source§fn clone(&self) -> RpcErrorCode
fn clone(&self) -> RpcErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcErrorCode
impl Debug for RpcErrorCode
impl Copy for RpcErrorCode
Auto Trait Implementations§
impl Freeze for RpcErrorCode
impl RefUnwindSafe for RpcErrorCode
impl Send for RpcErrorCode
impl Sync for RpcErrorCode
impl Unpin for RpcErrorCode
impl UnsafeUnpin for RpcErrorCode
impl UnwindSafe for RpcErrorCode
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