pub enum RpcServerError {
BufferOverflow,
IoError,
ParseError,
TooManyHandlers,
}
Expand description
Type for errors returned by the RPC server
Variants§
BufferOverflow
Buffer overflow error, e.g. message too large.
IoError
IO error, e.g. read/write error.
ParseError
TooManyHandlers
Too many registered handlers
The maximum number of handlers is defined by MAX_HANDLERS
.
Trait Implementations§
Source§impl Clone for RpcServerError
impl Clone for RpcServerError
Source§fn clone(&self) -> RpcServerError
fn clone(&self) -> RpcServerError
Returns a copy 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 RpcServerError
impl Debug for RpcServerError
Source§impl PartialEq for RpcServerError
impl PartialEq for RpcServerError
impl Copy for RpcServerError
impl Eq for RpcServerError
impl StructuralPartialEq 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