pub enum RedisCommand {
}Variants§
Ping
Get(String)
Set(String, Bytes)
Del(Vec<String>)
Exists(Vec<String>)
HSet(String, String, Bytes)
HGet(String, String)
HDel(String, Vec<String>)
Incr(String)
Decr(String)
IncrBy(String, i64)
Expire(String, u64)
Ttl(String)
Keys(String)
Implementations§
Source§impl RedisCommand
impl RedisCommand
pub fn from_frame(frame: RedisFrame) -> Result<Self, DsError>
Trait Implementations§
Source§impl Clone for RedisCommand
impl Clone for RedisCommand
Source§fn clone(&self) -> RedisCommand
fn clone(&self) -> RedisCommand
Returns a duplicate 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 moreAuto Trait Implementations§
impl !Freeze for RedisCommand
impl RefUnwindSafe for RedisCommand
impl Send for RedisCommand
impl Sync for RedisCommand
impl Unpin for RedisCommand
impl UnsafeUnpin for RedisCommand
impl UnwindSafe for RedisCommand
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