pub enum Error {
Show 15 variants
None,
MoreData,
NotSupport,
BadMsg,
BadKey,
BadCmd,
BadConfig,
BadSlotsMap,
ClusterDown,
IoError(Error),
Critical,
StrParseIntError(ParseIntError),
ParseIntError(ParseIntegerError),
SendError(SendError<Resp>),
AddrParseError(AddrParseError),
}
Variants
None
MoreData
NotSupport
BadMsg
BadKey
BadCmd
BadConfig
BadSlotsMap
ClusterDown
IoError(Error)
Critical
StrParseIntError(ParseIntError)
ParseIntError(ParseIntegerError)
SendError(SendError<Resp>)
AddrParseError(AddrParseError)
Trait Implementations
sourceimpl From<AddrParseError> for Error
impl From<AddrParseError> for Error
sourcefn from(oe: AddrParseError) -> Error
fn from(oe: AddrParseError) -> Error
Converts to this type from the input type.
sourceimpl From<ParseIntError> for Error
impl From<ParseIntError> for Error
sourcefn from(oe: ParseIntError) -> Error
fn from(oe: ParseIntError) -> Error
Converts to this type from the input type.
sourceimpl From<ParseIntegerError> for Error
impl From<ParseIntegerError> for Error
sourcefn from(oe: ParseIntegerError) -> Error
fn from(oe: ParseIntegerError) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more