pub enum RedisCtlError {
Config(ConfigError),
Profile(ProfileError),
Routing(RoutingError),
}Variants§
Trait Implementations§
Source§impl Debug for RedisCtlError
impl Debug for RedisCtlError
Source§impl Display for RedisCtlError
impl Display for RedisCtlError
Source§impl Error for RedisCtlError
impl Error for RedisCtlError
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<ConfigError> for RedisCtlError
impl From<ConfigError> for RedisCtlError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<ProfileError> for RedisCtlError
impl From<ProfileError> for RedisCtlError
Source§fn from(source: ProfileError) -> Self
fn from(source: ProfileError) -> Self
Converts to this type from the input type.
Source§impl From<RoutingError> for RedisCtlError
impl From<RoutingError> for RedisCtlError
Source§fn from(source: RoutingError) -> Self
fn from(source: RoutingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RedisCtlError
impl RefUnwindSafe for RedisCtlError
impl Send for RedisCtlError
impl Sync for RedisCtlError
impl Unpin for RedisCtlError
impl UnsafeUnpin for RedisCtlError
impl UnwindSafe for RedisCtlError
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