#[repr(u8)]pub enum RpcClientExceptionKind {
ConnectionLost = 0,
AuthorizationFailed = 1,
SessionFinished = 2,
}
Expand description
Possible error kinds of a RpcClientException
.
Variants§
ConnectionLost = 0
Connection with a server was lost.
This usually means that some transport error occurred, so a client can continue performing reconnecting attempts.
AuthorizationFailed = 1
Could not authorize an RPC session.
This usually means that authentication data a client provides is obsolete.
SessionFinished = 2
RPC session has been finished. This is a terminal state.
Trait Implementations§
Source§impl Clone for RpcClientExceptionKind
impl Clone for RpcClientExceptionKind
Source§fn clone(&self) -> RpcClientExceptionKind
fn clone(&self) -> RpcClientExceptionKind
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 RpcClientExceptionKind
impl Debug for RpcClientExceptionKind
Source§impl PartialEq for RpcClientExceptionKind
impl PartialEq for RpcClientExceptionKind
impl Copy for RpcClientExceptionKind
impl Eq for RpcClientExceptionKind
impl StructuralPartialEq for RpcClientExceptionKind
Auto Trait Implementations§
impl Freeze for RpcClientExceptionKind
impl RefUnwindSafe for RpcClientExceptionKind
impl Send for RpcClientExceptionKind
impl Sync for RpcClientExceptionKind
impl Unpin for RpcClientExceptionKind
impl UnwindSafe for RpcClientExceptionKind
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