Trait mbpr::PacketVal [] [src]

pub trait PacketVal {
    fn get_keylen(&self) -> usize;
    fn get_extralen(&self) -> usize;
    fn get_bodylen(&self) -> usize;

    fn total_len(&self) -> usize { ... }
}

Values encoded within Memcached packets

These are basic getter methods that all valid memcached BPR packets will contain.

This is a seperate trait because other traits inheriate it.

Required Methods

Provided Methods

The total length of the packet

Implementors