pub struct ValkeyType {
pub raw_type: RefCell<*mut RedisModuleType>,
/* private fields */
}
Fields§
§raw_type: RefCell<*mut RedisModuleType>
Implementations§
Source§impl ValkeyType
impl ValkeyType
pub const fn new( name: &'static str, version: i32, type_methods: RedisModuleTypeMethods, ) -> Self
pub fn create_data_type(&self, ctx: *mut RedisModuleCtx) -> Result<(), &str>
Trait Implementations§
impl Sync for ValkeyType
Auto Trait Implementations§
impl !Freeze for ValkeyType
impl !RefUnwindSafe for ValkeyType
impl !Send for ValkeyType
impl Unpin for ValkeyType
impl UnwindSafe for ValkeyType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more