#[repr(u8)]pub enum FastCommandKind {
Show 50 variants
Get = 1,
Set = 2,
SetEx = 3,
GetEx = 4,
Delete = 5,
Exists = 6,
Ttl = 7,
Expire = 8,
Ping = 9,
MGet = 10,
MSet = 11,
Auth = 60,
Hello = 61,
Select = 62,
Quit = 63,
Echo = 64,
Info = 65,
Command = 66,
CommandDocs = 67,
ConfigGet = 68,
DbSize = 69,
Time = 70,
ClientGetName = 71,
ClientSetName = 72,
ClientId = 73,
ClientList = 74,
ClientKill = 75,
HSet = 20,
HGet = 21,
HDel = 22,
HLen = 23,
HMGet = 24,
LPush = 30,
RPush = 31,
LPop = 32,
RPop = 33,
LLen = 34,
LIndex = 35,
LRange = 36,
SAdd = 40,
SRem = 41,
SIsMember = 42,
SCard = 43,
SMembers = 44,
ZAdd = 50,
ZRem = 51,
ZScore = 52,
ZCard = 53,
ZRange = 54,
RespCommand = 200,
}Variants§
Get = 1
Set = 2
SetEx = 3
GetEx = 4
Delete = 5
Exists = 6
Ttl = 7
Expire = 8
Ping = 9
MGet = 10
MSet = 11
Auth = 60
Hello = 61
Select = 62
Quit = 63
Echo = 64
Info = 65
Command = 66
CommandDocs = 67
ConfigGet = 68
DbSize = 69
Time = 70
ClientGetName = 71
ClientSetName = 72
ClientId = 73
ClientList = 74
ClientKill = 75
HSet = 20
HGet = 21
HDel = 22
HLen = 23
HMGet = 24
LPush = 30
RPush = 31
LPop = 32
RPop = 33
LLen = 34
LIndex = 35
LRange = 36
SAdd = 40
SRem = 41
SIsMember = 42
SCard = 43
SMembers = 44
ZAdd = 50
ZRem = 51
ZScore = 52
ZCard = 53
ZRange = 54
RespCommand = 200
Trait Implementations§
Source§impl Clone for FastCommandKind
impl Clone for FastCommandKind
Source§fn clone(&self) -> FastCommandKind
fn clone(&self) -> FastCommandKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastCommandKind
impl Debug for FastCommandKind
Source§impl PartialEq for FastCommandKind
impl PartialEq for FastCommandKind
Source§fn eq(&self, other: &FastCommandKind) -> bool
fn eq(&self, other: &FastCommandKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FastCommandKind
impl Eq for FastCommandKind
impl StructuralPartialEq for FastCommandKind
Auto Trait Implementations§
impl Freeze for FastCommandKind
impl RefUnwindSafe for FastCommandKind
impl Send for FastCommandKind
impl Sync for FastCommandKind
impl Unpin for FastCommandKind
impl UnsafeUnpin for FastCommandKind
impl UnwindSafe for FastCommandKind
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