Enum redis_async::resp::RespValue
[−]
[src]
pub enum RespValue { Array(Vec<RespValue>), BulkString(Vec<u8>), Error(String), Integer(usize), SimpleString(String), }
Variants
Array(Vec<RespValue>)
BulkString(Vec<u8>)
Error(String)
Integer(usize)
SimpleString(String)
Methods
impl RespValue
[src]
fn into_string(self) -> Result<String, Error>
Trait Implementations
impl Debug for RespValue
[src]
impl Clone for RespValue
[src]
fn clone(&self) -> RespValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for RespValue
[src]
impl PartialEq for RespValue
[src]
fn eq(&self, __arg_0: &RespValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RespValue) -> bool
This method tests for !=
.