Struct memcached_protocal::StoreCommand [] [src]

pub struct StoreCommand {
    pub command_name: String,
    pub key: String,
    pub flags: u16,
    pub exptime: u32,
    pub bytes: u64,
    pub cas_unique: Option<u64>,
    pub noreply: Option<String>,
    pub data_block: Vec<u8>,
}

Fields

command_name: String key: String flags: u16 exptime: u32 bytes: u64 cas_unique: Option<u64> noreply: Option<String> data_block: Vec<u8>

Methods

impl StoreCommand
[src]

fn parse<R: BufRead>(reader: &mut R) -> Result<StoreCommand>

Trait Implementations

impl PartialEq for StoreCommand
[src]

fn eq(&self, __arg_0: &StoreCommand) -> bool

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

fn ne(&self, __arg_0: &StoreCommand) -> bool

This method tests for !=.

impl Debug for StoreCommand
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.