pub enum ResponseParseError {
EmptyResponse,
EmptyResults,
EmptyDbStats,
EmptyError,
InvalidResults(Error),
InvalidDbStats(Error),
InvalidError(Error),
UnknownComamnd,
}Expand description
Result of Response parser
Variants§
EmptyResponse
Response is empty
EmptyResults
Results is without payload
EmptyDbStats
DBstats is without payload
EmptyError
Error is without payload
InvalidResults(Error)
Invalid Results payload.
InvalidDbStats(Error)
Invalid DBstats payload.
InvalidError(Error)
Invalid Error payload.
UnknownComamnd
Unknown command is specified.
Trait Implementations§
Source§impl Debug for ResponseParseError
impl Debug for ResponseParseError
Source§impl Display for ResponseParseError
impl Display for ResponseParseError
Source§impl Error for ResponseParseError
impl Error for ResponseParseError
1.30.0 · 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 ResponseParseError
impl !RefUnwindSafe for ResponseParseError
impl Send for ResponseParseError
impl Sync for ResponseParseError
impl Unpin for ResponseParseError
impl !UnwindSafe for ResponseParseError
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