1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
pub mod raw;
mod alloc;
pub mod block_client;
pub mod call_reply;
pub mod cluster;
mod common;
pub mod context;
pub mod error;
pub mod io;
pub mod key;
mod macros;
pub mod prelude;
pub mod rtype;
pub mod scan_cursor;
pub mod string;
pub mod user;
pub mod value;
#[global_allocator]
static ALLOC: crate::alloc::RedisAlloc = crate::alloc::RedisAlloc;
pub use common::{
avoid_replica_traffic, get_client_info_by_id, get_notify_keyspace_events,
get_used_memory_ratio, handle_status, is_module_busy, latency_add_sample, milliseconds,
parse_args, reset_dataset, CallFlag, FromPtr, GetPtr, LogLevel, ServerEvent,
};
pub type RResult = Result<value::Value, error::Error>;