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
Implementors
impl PacketVal for ReqHeader
impl<'a> PacketVal for Request<'a>
impl PacketVal for OwnedRequest
impl PacketVal for ResHeader
impl<'a> PacketVal for Response<'a>
impl PacketVal for OwnedResponse