Enum redis_rs::response::RedisResponse [−][src]
The type the response data will be according to RESP specification https://redis.io/topics/protocol
Variants
SimpleString(String)
Equivalent to String
Error(String)
The server replied with an error
Integer(i32)
A numeric string that can be parsed
BulkString(String)
A string with known size
Array(String)
An array
Trait Implementations
impl Debug for RedisResponse
[src]
impl PartialEq<RedisResponse> for RedisResponse
[src]
fn eq(&self, other: &RedisResponse) -> bool
[src]
fn ne(&self, other: &RedisResponse) -> bool
[src]
impl StructuralPartialEq for RedisResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for RedisResponse
impl Send for RedisResponse
impl Sync for RedisResponse
impl Unpin for RedisResponse
impl UnwindSafe for RedisResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,