Evo C++ Library v0.5.1
Classes | Public Types | List of all members
Memcached Struct Reference

#include <evo/async/memcached_common.h>

Detailed Description

General types used when implementing MemcachedClient or server callbacks.

Classes

struct  ErrorResultEnum
 ErrorResult enum conversion helper. More...
 
struct  StoreResultEnum
 StoreResult enum conversion helper. More...
 

Public Types

enum  ErrorResult {
  erUNKNOWN = 0, erCLIENT_ERROR, erERROR, erSERVER_ERROR,
  erENUM_END
}
 Memcached protocol error result. More...
 
enum  StoreResult {
  srUNKNOWN = 0, srEXISTS, srNOT_FOUND, srNOT_STORED,
  srSTORED, srENUM_END
}
 Memcached store command result. More...
 

Member Enumeration Documentation

◆ ErrorResult

Memcached protocol error result.

Enumerator
erUNKNOWN 
erCLIENT_ERROR 
erERROR 
erSERVER_ERROR 
erENUM_END 

◆ StoreResult

Memcached store command result.

Enumerator
srUNKNOWN 

Unknown/invalid result (always first)

srEXISTS 

Item modified, interrupting compare-and-swap command (CAS command only)

srNOT_FOUND 

Item not found, can't compare-and-swap (CAS command only)

srNOT_STORED 

Not stored due to unmet condtion for append, prepend, add, or replace command.

srSTORED 

Successfully stored.

srENUM_END 

Enum guard value (always last)


The documentation for this struct was generated from the following file: