Enum memcache::ServerError
source · [−]Expand description
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
sourceimpl Debug for ServerError
impl Debug for ServerError
sourceimpl Display for ServerError
impl Display for ServerError
sourceimpl From<ServerError> for MemcacheError
impl From<ServerError> for MemcacheError
sourcefn from(err: ServerError) -> Self
fn from(err: ServerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more