Struct redis_module::native_types::RedisType [−][src]
pub struct RedisType {
pub raw_type: RefCell<*mut RedisModuleType>,
// some fields omitted
}Fields
raw_type: RefCell<*mut RedisModuleType>Implementations
impl RedisType[src]
impl RedisType[src]pub const fn new(
name: &'static str,
version: i32,
type_methods: RedisModuleTypeMethods
) -> Self[src]
name: &'static str,
version: i32,
type_methods: RedisModuleTypeMethods
) -> Self
pub fn create_data_type(&self, ctx: *mut RedisModuleCtx) -> Result<(), &str>[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RedisType
impl !RefUnwindSafe for RedisTypeimpl UnwindSafe for RedisType
impl UnwindSafe for RedisType