Struct hiredis::Error [] [src]

pub struct Error {
    pub kind: ErrorKind,
    pub message: String,
}

An error.

Fields

kind: ErrorKind message: String

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T> From<T> for Error where T: Into<String>
[src]

fn from(message: T) -> Error

Performs the conversion.

impl Display for Error
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result

Formats the value using the given formatter.