pub enum ERPCError {
Show 13 variants
ConnectionClosed,
MethodNotFound(String),
SerializationError(String),
ProtocolError(String),
ApplicationError {
class: String,
message: String,
backtrace: Vec<String>,
},
Io(Error),
Parse(Error),
Encoding(String),
Utf8(Utf8Error),
InvalidMessageFormat(String),
Timeout,
ProcessError(String),
InvalidArgument(String),
}Variants§
ConnectionClosed
MethodNotFound(String)
SerializationError(String)
ProtocolError(String)
ApplicationError
Io(Error)
Parse(Error)
Encoding(String)
Utf8(Utf8Error)
InvalidMessageFormat(String)
Timeout
ProcessError(String)
InvalidArgument(String)
Trait Implementations§
Source§impl Error for ERPCError
impl Error for ERPCError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ERPCError
impl !RefUnwindSafe for ERPCError
impl Send for ERPCError
impl Sync for ERPCError
impl Unpin for ERPCError
impl !UnwindSafe for ERPCError
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