pub struct RedisProtocolError { /* private fields */ }Expand description
The default error type used with all external functions in this library.
Implementations§
Trait Implementations§
Source§impl Debug for RedisProtocolError
impl Debug for RedisProtocolError
Source§impl Display for RedisProtocolError
impl Display for RedisProtocolError
Source§impl Error for RedisProtocolError
impl Error for RedisProtocolError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<Error> for RedisProtocolError
impl From<Error> for RedisProtocolError
Source§impl From<FromUtf8Error> for RedisProtocolError
impl From<FromUtf8Error> for RedisProtocolError
Source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<GenError> for RedisProtocolError
impl From<GenError> for RedisProtocolError
Source§impl From<ParseFloatError> for RedisProtocolError
impl From<ParseFloatError> for RedisProtocolError
Source§fn from(value: ParseFloatError) -> Self
fn from(value: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for RedisProtocolError
impl From<ParseIntError> for RedisProtocolError
Source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl<I> From<RedisParseError<I>> for RedisProtocolErrorwhere
I: Debug,
impl<I> From<RedisParseError<I>> for RedisProtocolErrorwhere
I: Debug,
Source§fn from(e: RedisParseError<I>) -> Self
fn from(e: RedisParseError<I>) -> Self
Converts to this type from the input type.
Source§impl<B> From<Utf8Error<B>> for RedisProtocolError
impl<B> From<Utf8Error<B>> for RedisProtocolError
Source§fn from(e: BytesUtf8Error<B>) -> Self
fn from(e: BytesUtf8Error<B>) -> Self
Converts to this type from the input type.
Source§impl From<Utf8Error> for RedisProtocolError
impl From<Utf8Error> for RedisProtocolError
Source§impl PartialEq for RedisProtocolError
impl PartialEq for RedisProtocolError
impl Eq for RedisProtocolError
impl StructuralPartialEq for RedisProtocolError
Auto Trait Implementations§
impl Freeze for RedisProtocolError
impl !RefUnwindSafe for RedisProtocolError
impl Send for RedisProtocolError
impl Sync for RedisProtocolError
impl Unpin for RedisProtocolError
impl !UnwindSafe for RedisProtocolError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more