Trait memcache::ToMemcacheValue [] [src]

pub trait ToMemcacheValue {
    fn get_flags(&self) -> u16;
    fn get_exptime(&self) -> u32;
    fn get_length(&self) -> usize;
    fn write_to(&self, stream: &TcpStream) -> Result<()>;
}

determine how the value is serialize to memcache

Required Methods

Implementors