Struct redis_module::RedisString [−][src]
pub struct RedisString {
pub inner: *mut RedisModuleString,
// some fields omitted
}
Fields
inner: *mut RedisModuleString
Implementations
pub fn from_redis_module_string(
ctx: *mut RedisModuleCtx,
inner: *mut RedisModuleString
) -> RedisString
Performs lossy conversion of a RedisString
into an owned `String. This conversion
will replace any invalid UTF-8 sequences with U+FFFD REPLACEMENT CHARACTER, which
looks like this: �.
Panics
Will panic if RedisModule_StringPtrLen
is missing in redismodule.h
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RedisString
impl !Send for RedisString
impl !Sync for RedisString
impl Unpin for RedisString
impl UnwindSafe for RedisString
Blanket Implementations
Mutably borrows from an owned value. Read more