Struct async_memcached::Value
source · pub struct Value {
pub key: Vec<u8>,
pub cas: Option<u64>,
pub flags: u32,
pub data: Vec<u8>,
}
Expand description
A value from memcached.
Fields§
§key: Vec<u8>
The key.
cas: Option<u64>
CAS identifier.
flags: u32
Flags for this key.
Defaults to 0.
data: Vec<u8>
Data for this key.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)