pub enum Response {
Status(Status),
Data(Option<Vec<Value>>),
IncrDecr(u64),
}
Expand description
Response to a memcached operation.
Variants§
Status(Status)
The status of a given operation, which may or may not have succeeded.
Data(Option<Vec<Value>>)
Data response, which is only returned for reads.
IncrDecr(u64)
Resulting value of a key after an increment/decrement operation.
Trait Implementations§
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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