Enum memcache::MemcacheError
[−]
[src]
pub enum MemcacheError { Io(Error), FromUtf8(FromUtf8Error), Error, ClientError(String), ServerError(String), }
Stands for errors raised from rust-memcache
Variants
Io(Error)
std::io
related errors.
FromUtf8(FromUtf8Error)
Error raised when unserialize value data which from memcached to String
Error
Unknown error raised by memcached, more detail.
ClientError(String)
Client side error raised by memcached, probably caused by invalid input, more detail.
ServerError(String)
Server side error raise by memcached, more detail.
Trait Implementations
impl Debug for MemcacheError
[src]
impl Display for MemcacheError
[src]
impl Error for MemcacheError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for MemcacheError
[src]
fn from(err: Error) -> MemcacheError
Performs the conversion.
impl From<FromUtf8Error> for MemcacheError
[src]
fn from(err: FromUtf8Error) -> MemcacheError
Performs the conversion.
impl From<String> for MemcacheError
[src]
fn from(s: String) -> MemcacheError
Performs the conversion.