Enum redis_module::key::KeyMode [−][src]
pub enum KeyMode { Read, ReadWrite, }
RedisKey
is an abstraction over a Redis key that allows readonly
operations.
Its primary function is to ensure the proper deallocation of resources when
it goes out of scope. Redis normally requires that keys be managed manually
by explicitly freeing them when you’re done. This can be a risky prospect,
especially with mechanics like Rust’s ?
operator, so we ensure fault-free
operation through the use of the Drop trait.
Variants
Trait Implementations
impl StructuralPartialEq for KeyMode
[src]
impl StructuralPartialEq for KeyMode
[src]Auto Trait Implementations
impl RefUnwindSafe for KeyMode
impl RefUnwindSafe for KeyMode
impl UnwindSafe for KeyMode
impl UnwindSafe for KeyMode