[][src]Enum memcache::ServerError

pub enum ServerError {
    BadMagic(u8),
    BadResponse(Cow<'static, str>),
    Error(String),
}

Server-side errors

Variants

BadMagic(u8)

When using binary protocol, the server returned magic byte other than 0x81 in the response packet.

BadResponse(Cow<'static, str>)

The client did not expect this response from the server.

Error(String)

The server returned an error prefixed with SERVER_ERROR in response to a command.

Trait Implementations

impl Debug for ServerError[src]

impl Display for ServerError[src]

impl From<ServerError> for MemcacheError[src]

impl From<String> for ServerError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,