Struct redis_protocol::error::RedisProtocolError
source · 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)>
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
source§fn eq(&self, other: &RedisProtocolError) -> bool
fn eq(&self, other: &RedisProtocolError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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