We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 523faa0 commit 5d20c03Copy full SHA for 5d20c03
src/sidekiq/mod.rs
@@ -1,6 +1,5 @@
1
use std::default::Default;
2
use std::env;
3
-use std::error::Error;
4
use std::fmt;
5
use std::time::{SystemTime, UNIX_EPOCH};
6
@@ -57,22 +56,6 @@ impl fmt::Display for ClientError {
57
56
}
58
59
60
-impl Error for ClientError {
61
- fn description(&self) -> &str {
62
- match self.kind {
63
- ErrorKind::Redis(ref err) => err.description(),
64
- ErrorKind::PoolInit(ref err) => err.description(),
65
- }
66
67
-
68
- fn cause(&self) -> Option<&dyn Error> {
69
70
- ErrorKind::Redis(ref err) => Some(err),
71
- ErrorKind::PoolInit(ref err) => Some(err),
72
73
74
-}
75
76
impl From<redis::RedisError> for ClientError {
77
fn from(error: redis::RedisError) -> ClientError {
78
ClientError {
0 commit comments