We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1336c commit 185bcedCopy full SHA for 185bced
src/context/mod.rs
@@ -242,6 +242,7 @@ unsafe impl Sync for DetachedContext {}
242
243
/// `Context` is a structure that's designed to give us a high-level interface to
244
/// the Redis module API by abstracting away the raw C FFI calls.
245
+#[derive(Debug)]
246
pub struct Context {
247
pub ctx: *mut raw::RedisModuleCtx,
248
}
@@ -251,6 +252,7 @@ pub struct Context {
251
252
/// This guerd make sure to unset the user when freed.
253
/// It prevent privilege escalation security issues
254
/// that can happened by forgeting to unset the user.
255
256
pub struct ContextUserScope<'ctx> {
257
ctx: &'ctx Context,
258
user: *mut raw::RedisModuleUser,
0 commit comments