pub enum RedisValueKey {
Integer(i64),
String(String),
BulkRedisString(RedisString),
BulkString(Vec<u8>),
Bool(bool),
}
Variants§
Trait Implementations§
Source§impl Clone for RedisValueKey
impl Clone for RedisValueKey
Source§fn clone(&self) -> RedisValueKey
fn clone(&self) -> RedisValueKey
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedisValueKey
impl Debug for RedisValueKey
Source§impl From<&String> for RedisValueKey
impl From<&String> for RedisValueKey
Source§impl From<&str> for RedisValueKey
impl From<&str> for RedisValueKey
Source§impl From<RedisString> for RedisValueKey
impl From<RedisString> for RedisValueKey
Source§fn from(rs: RedisString) -> Self
fn from(rs: RedisString) -> Self
Converts to this type from the input type.
Source§impl From<String> for RedisValueKey
impl From<String> for RedisValueKey
Source§impl From<bool> for RedisValueKey
impl From<bool> for RedisValueKey
Source§impl From<i64> for RedisValueKey
impl From<i64> for RedisValueKey
Source§impl Hash for RedisValueKey
impl Hash for RedisValueKey
Source§impl Ord for RedisValueKey
impl Ord for RedisValueKey
Source§fn cmp(&self, other: &RedisValueKey) -> Ordering
fn cmp(&self, other: &RedisValueKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RedisValueKey
impl PartialEq for RedisValueKey
Source§impl PartialOrd for RedisValueKey
impl PartialOrd for RedisValueKey
Source§impl<'root> TryFrom<&CallReply<'root>> for RedisValueKey
impl<'root> TryFrom<&CallReply<'root>> for RedisValueKey
Source§impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for RedisValueKey
impl<'root> TryFrom<&Result<CallReply<'root>, ErrorReply<'root>>> for RedisValueKey
Source§type Error = RedisError
type Error = RedisError
The type returned in the event of a conversion error.
impl Eq for RedisValueKey
impl StructuralPartialEq for RedisValueKey
Auto Trait Implementations§
impl Freeze for RedisValueKey
impl RefUnwindSafe for RedisValueKey
impl !Send for RedisValueKey
impl !Sync for RedisValueKey
impl Unpin for RedisValueKey
impl UnwindSafe for RedisValueKey
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