Struct fred::error::RedisError
[−]
[src]
pub struct RedisError { /* fields omitted */ }
A struct representing an error from Redis.
Methods
impl RedisError
[src]
fn new<T: Into<String>>(kind: RedisErrorKind, details: T) -> RedisError
[src]
fn kind(&self) -> &RedisErrorKind
[src]
fn details(&self) -> &str
[src]
fn to_string(&self) -> String
[src]
fn new_canceled() -> RedisError
[src]
Trait Implementations
impl Clone for RedisError
[src]
fn clone(&self) -> RedisError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RedisError
[src]
impl PartialEq for RedisError
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for RedisError
[src]
impl From<()> for RedisError
[src]
impl<T: Into<RedisError>> From<SendError<T>> for RedisError
[src]
impl From<IoError> for RedisError
[src]
impl From<ParseError> for RedisError
[src]
fn from(e: ParseError) -> Self
[src]
Performs the conversion.
impl From<ParseFloatError> for RedisError
[src]
fn from(_: ParseFloatError) -> Self
[src]
Performs the conversion.
impl From<ParseIntError> for RedisError
[src]
fn from(_: ParseIntError) -> Self
[src]
Performs the conversion.
impl From<FromUtf8Error> for RedisError
[src]
fn from(_: FromUtf8Error) -> Self
[src]
Performs the conversion.
impl From<Error> for RedisError
[src]
impl From<Canceled> for RedisError
[src]
impl From<Frame> for RedisError
[src]
impl From<TimerError> for RedisError
[src]
fn from(e: TimerError) -> Self
[src]
Performs the conversion.
impl<T: Into<RedisError>> From<TimeoutError<T>> for RedisError
[src]
fn from(e: TimeoutError<T>) -> Self
[src]
Performs the conversion.
impl Display for RedisError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more