Enum kramer::ResponseValue
source · pub enum ResponseValue {
Empty,
String(String),
Integer(i64),
}
Expand description
A redis response value may either be empty, a bulk string, or an integer.
Variants§
Trait Implementations§
source§impl Debug for ResponseValue
impl Debug for ResponseValue
source§impl PartialEq<ResponseValue> for ResponseValue
impl PartialEq<ResponseValue> for ResponseValue
source§fn eq(&self, other: &ResponseValue) -> bool
fn eq(&self, other: &ResponseValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResponseValue
impl StructuralEq for ResponseValue
impl StructuralPartialEq for ResponseValue
Auto Trait Implementations§
impl RefUnwindSafe for ResponseValue
impl Send for ResponseValue
impl Sync for ResponseValue
impl Unpin for ResponseValue
impl UnwindSafe for ResponseValue
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