pub enum WatcherError {
RedisConnection(RedisError),
Serialization(Error),
CallbackNotSet,
AlreadyClosed,
Configuration(String),
Runtime(String),
}
Expand description
Re-export for convenience
Variants§
RedisConnection(RedisError)
Serialization(Error)
CallbackNotSet
AlreadyClosed
Configuration(String)
Runtime(String)
Trait Implementations§
Source§impl Debug for WatcherError
impl Debug for WatcherError
Source§impl Display for WatcherError
impl Display for WatcherError
Source§impl Error for WatcherError
impl Error for WatcherError
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()
Source§impl From<Error> for WatcherError
impl From<Error> for WatcherError
Source§impl From<RedisError> for WatcherError
impl From<RedisError> for WatcherError
Source§fn from(source: RedisError) -> Self
fn from(source: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WatcherError
impl !RefUnwindSafe for WatcherError
impl Send for WatcherError
impl Sync for WatcherError
impl Unpin for WatcherError
impl !UnwindSafe for WatcherError
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