Struct td_proto_rust::values::RpError [] [src]

pub struct RpError { /* fields omitted */ }

Represents a redis error. For the most part you should be using the Error trait to interact with this rather than the actual struct.

Methods

impl RpError
[src]

Indicates a general failure in the library.

Returns the kind of the error.

Returns the name of the error category for display purposes.

Indicates that this failure is an IO failure.

Returns the extension error code

Returns the extension error detail

Trait Implementations

impl PartialEq for RpError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for RpError
[src]

Performs the conversion.

impl From<(ErrorKind, &'static str)> for RpError
[src]

Performs the conversion.

impl From<(ErrorKind, &'static str, String)> for RpError
[src]

Performs the conversion.

impl Error for RpError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for RpError
[src]

Formats the value using the given formatter. Read more

impl Debug for RpError
[src]

Formats the value using the given formatter.