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
fn kind(&self) -> &RedisErrorKind
fn details(&self) -> &str
fn to_string(&self) -> String
fn new_canceled() -> RedisError
Trait Implementations
impl Clone for RedisError[src]
fn clone(&self) -> RedisError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for RedisError[src]
impl PartialEq for RedisError[src]
fn eq(&self, other: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
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
Performs the conversion.
impl From<ParseFloatError> for RedisError[src]
fn from(_: ParseFloatError) -> Self
Performs the conversion.
impl From<ParseIntError> for RedisError[src]
fn from(_: ParseIntError) -> Self
Performs the conversion.
impl From<FromUtf8Error> for RedisError[src]
fn from(_: FromUtf8Error) -> Self
Performs the conversion.
impl From<Error> for RedisError[src]
impl From<Canceled> for RedisError[src]
impl From<Frame> for RedisError[src]
fn from(e: Frame) -> Self
Performs the conversion.
impl From<TimerError> for RedisError[src]
fn from(e: TimerError) -> Self
Performs the conversion.
impl<T: Into<RedisError>> From<TimeoutError<T>> for RedisError[src]
fn from(e: TimeoutError<T>) -> Self
Performs the conversion.