pub enum Status {
Stored,
NotStored,
Deleted,
Touched,
NoOp,
Exists,
Value,
NotFound,
Error(ErrorKind),
}
Expand description
Status of a memcached operation.
Variants§
Stored
The value was stored.
NotStored
The value was not stored.
Deleted
The key was deleted.
Touched
The key was touched.
NoOp
Quiet mode no-op.
Exists
The key already exists.
Value
The key already exists and value was requested in the meta protocol.
NotFound
The key was not found.
Error(ErrorKind)
An error occurred for the given operation.
Trait Implementations§
Source§impl From<MetadumpResponse> for Status
impl From<MetadumpResponse> for Status
Source§fn from(resp: MetadumpResponse) -> Self
fn from(resp: MetadumpResponse) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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